CVE catalog

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. To skip a leading 3-byte UTF-8 BOM, decode_json() advances th

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibcpanel-json-xs-perlsid4.80-1fixed
Debianlibcpanel-json-xs-perlforky4.80-1fixed
Debianlibcpanel-json-xs-perltrixie4.39-2~deb13u1vulnerable
Debianlibcpanel-json-xs-perltrixie-security4.39-2~deb13u1vulnerable
Debianlibcpanel-json-xs-perlbookworm4.35-1+deb12u1vulnerable
Debianlibcpanel-json-xs-perlbookworm-security4.35-1+deb12u1vulnerable
Cpelibcpanel-json-xs-perlNot reportedNot reportedvulnerable
Cpecpanel\Not reported4.41fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibcpanel-json-xs-perlsourcesid4.41-1not yet assignedNot reported[1138273]
Debianlibcpanel-json-xs-perlsourceforky4.41-1not yet assignedNot reported[1138273]
Debianlibcpanel-json-xs-perlsourcetrixie(unfixed)not yet assignedNot reported[1138273]
Debianlibcpanel-json-xs-perlsourcebookworm(unfixed)not yet assignedNot reported[1138273]
Cpecpanel\cpeNot reported4.41Not reportedNot reportedNot reported

[Debian bug #1138273]

Notes

[trixie] libcpanel-json-xs-perl: Minor issue [bookworm] libcpanel-json-xs-perl: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (4)
    • 4.35-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libcpanel-json-xs-perl · debian · bookworm; nvd · libcpanel-json-xs-perl · debian · 12

    • 4.35-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libcpanel-json-xs-perl · debian · bookworm; nvd · libcpanel-json-xs-perl · debian · 12

    • 4.35-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libcpanel-json-xs-perl · debian · bookworm; nvd · libcpanel-json-xs-perl · debian · 12

    • 4.35-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libcpanel-json-xs-perl · debian · bookworm; nvd · libcpanel-json-xs-perl · debian · 12

[Debian 13 (Trixie)]

  • Details (4)
    • 4.39-2~deb13u1 · amd64 · trixie

      Affected

      nvd · libcpanel-json-xs-perl · debian · 13

    • 4.39-2~deb13u1 · arm64 · trixie

      Affected

      nvd · libcpanel-json-xs-perl · debian · 13

    • 4.39-2~deb13u1 · amd64 · trixie-security

      Affected

      nvd · libcpanel-json-xs-perl · debian · 13

    • 4.39-2~deb13u1 · arm64 · trixie-security

      Affected

      nvd · libcpanel-json-xs-perl · debian · 13

Observed:

References