Skip to content
OpenAdvisories
High · 7.5 CVE-2026-110678 EUVD-2026-104559GHSA-94qg-48qm-9798

Cpanel::JSON::XS versions before 4.80 for Perl allow memory exhaustion by buffering incremental input past max_size in incr_parse

Published Oct 19, 2026 · Updated Oct 29, 2026 · Assigned by CPANSec

Description

Cpanel::JSON::XS versions before 4.80 for Perl allow memory exhaustion by buffering incremental input past max_size in incr_parse.

The parser appends each chunk to its buffer. In scalar or list context, it compares max_size with how far it has progressed, not with the buffer length. A chunk that starts with a NUL byte stops the parser before it progresses, and a call in void context skips the check, so the buffer grows without limit.

A peer streaming data to an incr_parse consumer can exhaust process memory regardless of max_size.

Affected products

VendorProductAffectedFixed
— Cpanel-JSON-XS < 4.80 4.80

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcpanel-json-xs-perl 4.80-1 —
Debian 13 libcpanel-json-xs-perl No fix yet —
Debian 12 libcpanel-json-xs-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libcpanel-json-xs-perl No fix yet —
Ubuntu 26.04 LTS libcpanel-json-xs-perl No fix yet —
Ubuntu 24.04 LTS libcpanel-json-xs-perl No fix yet —
Ubuntu 22.04 LTS libcpanel-json-xs-perl No fix yet —
Ubuntu 20.04 LTS libcpanel-json-xs-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libcpanel-json-xs-perl No fix yet —
Ubuntu 16.04 LTS libcpanel-json-xs-perl No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-Cpanel-JSON-XS 4.800.0-150700.3.9.1 SUSE-SU-2026:4926-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Cpanel-JSON-XS 4.800.0-1.1 openSUSE-SU-2026:12217-1
openSUSE Leap 16.0 perl-Cpanel-JSON-XS 4.800.0-bp160.1.1 openSUSE-SU-2026:22187-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-Cpanel-JSON-XS 4.25-2.amzn2023.0.10 ALAS2023-2026-3352

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-Cpanel-JSON-XS No fix yet —

Advisories 4

References