Bug 2556482

Summary: CVE-2026-110685 perl-Cpanel-JSON-XS: Memory leak in decode_tag when THAW method dies [fedora-all]
Product: [Fedora] Fedora Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: perl-Cpanel-JSON-XSAssignee: Paul Howarth <paul>
Status: MODIFIED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: paul, perl-devel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["5035cd4b-dceb-40d7-b78c-5f39f8c0f74a"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2555764    

Description Guilherme de Almeida Suckevicz 2026-10-20 20:51:56 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-10-21 09:13:20 UTC
FEDORA-2026-ad8dfeadc9 (perl-Cpanel-JSON-XS-4.80-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ad8dfeadc9

Comment 2 Fedora Update System 2026-10-21 09:16:03 UTC
FEDORA-2026-3ab4727120 (perl-Cpanel-JSON-XS-4.80-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3ab4727120

Comment 3 Fedora Update System 2026-10-21 09:18:44 UTC
FEDORA-2026-4447e52d23 (perl-Cpanel-JSON-XS-4.80-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4447e52d23