Bug 2556484

Summary: CVE-2026-110677 perl-Cpanel-JSON-XS: Memory leak in decode_hv under dupkeys_as_arrayref [epel-all]
Product: [Fedora] Fedora EPEL 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: epel10CC: paul, perl-devel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["2177841f-7202-49ee-a328-fe9ae173c921"]}
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: 2555769    

Description Guilherme de Almeida Suckevicz 2026-10-20 20:52:11 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 from 4.28 before 4.80 for Perl leak the array collecting duplicate key values under dupkeys_as_arrayref in decode_hv.

With dupkeys_as_arrayref, the values of a duplicate object key are collected into a new array. An extra reference is never released, so the array and every value in it outlive the decoded structure. The array also leaks when decoding fails after a duplicate key.

Repeatedly decoding untrusted JSON with a duplicate key holding a large value exhausts process memory.

Comment 1 Fedora Update System 2026-10-21 07:41:47 UTC
FEDORA-EPEL-2026-672076fdc0 (perl-Cpanel-JSON-XS-4.80-1.el10_4) has been submitted as an update to Fedora EPEL 10.4.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-672076fdc0

Comment 2 Fedora Update System 2026-10-21 08:03:48 UTC
FEDORA-EPEL-2026-3b3b4740ca (perl-Cpanel-JSON-XS-4.80-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-3b3b4740ca

Comment 3 Fedora Update System 2026-10-21 08:32:27 UTC
FEDORA-EPEL-2026-9b03a92984 (perl-Cpanel-JSON-XS-4.80-1.el10_2) has been submitted as an update to Fedora EPEL 10.2.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9b03a92984

Comment 4 Fedora Update System 2026-10-21 08:46:36 UTC
FEDORA-EPEL-2026-95af75ef34 (perl-Cpanel-JSON-XS-4.80-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-95af75ef34

Comment 5 Fedora Update System 2026-10-21 08:50:41 UTC
FEDORA-EPEL-2026-b4b3dd8025 (perl-Cpanel-JSON-XS-4.80-1.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-b4b3dd8025