Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded arguments of a tagged value when its THAW method dies in decode_tag
Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded arguments of a tagged value when its THAW method dies in decode_tag. With allow_tags, a tagged value's class name and argument array are decoded and passed to the class's THAW method. Both are released only after THAW returns, so a THAW that dies leaves the whole decoded argument structure allocated. Each rejected document leaks data of a size the sender chooses, so a process that catches the error and keeps running exhausts its memory.
CVE-2026-110685
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-110685
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/rurban/Cpanel-JSON-XS",
"modules": [
"Cpanel::JSON::XS"
],
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "4.80",
"versionType": "custom"
}
],
"packageURL": "pkg:cpan/Cpanel-JSON-XS",
"packageName": "Cpanel-JSON-XS",
"programFiles": [
"XS.xs"
],
"collectionURL": "https://cpan.org/modules",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "decode_tag"
}
]
}
]- Related CVEs
- CVE-2026-110685
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #39692 · Revision 1
- Added to Heist Feed
- Publisher date