CVE-2026-9516 Cpanel::JSON::XS versions before 4.41 for Perl allow denial of service via UTF-8 BOM prefixed input when a decode filter callback throws
HighCVSS 7.5
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Cpanel::JSON::XS versions before 4.41 for Perl allow denial of service via UTF-8 BOM prefixed input when a decode filter callback throws.
To skip a leading 3-byte UTF-8 BOM, decode_json() advances the input scalar's string pointer past the mark with SvPV_set() and restores it only on the normal return path. When decoding aborts through a Perl exception, for example a filter_json_object callback that croaks, the restore is skipped and the scalar is left with its string pointer offset into its own buffer and a shortened length.
When that scalar is later freed, the allocator receives an invalid pointer and the interpreter aborts. A single BOM prefixed document decoded with a throwing filter callback crashes any caller.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| RURBAN Cpanel::JSON::XS | < 4.41 | 4.41 |
| ubuntu/libcpanel-json-xs-perl(Ubuntu:22.04) | All versions | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | All versions | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.35-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.35-1+deb12u1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.36-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.37-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.38-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.39-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.39-2 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.39-2~deb13u1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.40-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.41-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.42-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:12) | = 4.51-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:13) | All versions | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:13) | = 4.39-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:13) | = 4.39-2 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:13) | = 4.39-2~deb13u1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:13) | = 4.40-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:13) | = 4.41-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:13) | = 4.42-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:13) | = 4.51-1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:14) | < 4.41-1 | 4.41-1 |
| debian/libcpanel-json-xs-perl(Debian:14) | = 4.39-1 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libcpanel-json-xs-perl(Debian:14) | = 4.39-2 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:14) | = 4.39-2~deb13u1 | No fix listed |
| debian/libcpanel-json-xs-perl(Debian:14) | = 4.40-1 | No fix listed |
| ubuntu/libcpanel-json-xs-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libcpanel-json-xs-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libcpanel-json-xs-perl(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com patch
- metacpan.org release-notes
- www.openwall.com mailing-list patch third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2026-9516 vendor-advisory
- bugs.debian.org issue-tracking