{"id":"UBUNTU-CVE-2025-40929","details":"Cpanel::JSON::XS before version 4.40 for Perl has an integer buffer overflow causing a segfault when parsing crafted JSON, enabling denial-of-service attacks or other unspecified impact","modified":"2026-05-20T16:23:24.610672714Z","published":"2025-09-08T15:15:00Z","related":["USN-7749-1"],"upstream":["CVE-2025-40929"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-40929"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-40929"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/32608920/"},{"type":"REPORT","url":"https://github.com/rurban/Cpanel-JSON-XS/commit/378236219eaa35742c3962ecbdee364903b0a1f2.patch"},{"type":"REPORT","url":"https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.39/source/XS.xs#L713"},{"type":"REPORT","url":"https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.40/changes"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7749-1"}],"affected":[{"package":{"name":"libcpanel-json-xs-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0115-1","3.0210-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0210-1ubuntu1","binary_name":"libcpanel-json-xs-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40929.json"}},{"package":{"name":"libcpanel-json-xs-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0225-1build1","3.0239-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0239-1","binary_name":"libcpanel-json-xs-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40929.json"}},{"package":{"name":"libcpanel-json-xs-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12-1","4.12-1build1","4.15-1","4.17-1","4.18-1","4.19-1","4.19-1build1","4.19-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.19-1ubuntu0.1","binary_name":"libcpanel-json-xs-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40929.json"}},{"package":{"name":"libcpanel-json-xs-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.27-1ubuntu0.2"}]}],"versions":["4.25-1build1","4.25-1build2","4.27-1","4.27-1build1","4.27-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"4.27-1ubuntu0.2","binary_name":"libcpanel-json-xs-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40929.json"}},{"package":{"name":"libcpanel-json-xs-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.37-1ubuntu0.1"}]}],"versions":["4.37-1","4.37-1build1","4.37-1build2","4.37-1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libcpanel-json-xs-perl","binary_version":"4.37-1ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40929.json"}},{"package":{"name":"libcpanel-json-xs-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.39-2"}]}],"versions":["4.39-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcpanel-json-xs-perl","binary_version":"4.39-2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40929.json"}},{"package":{"name":"libcpanel-json-xs-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.39-2"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libcpanel-json-xs-perl","binary_version":"4.39-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40929.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}