Bug 2556484 - CVE-2026-110677 perl-Cpanel-JSON-XS: Memory leak in decode_hv under dupkeys_as_arrayref [epel-all]
Summary: CVE-2026-110677 perl-Cpanel-JSON-XS: Memory leak in decode_hv under dupkeys_a...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: perl-Cpanel-JSON-XS
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["2177841f-7202-49ee-a328-f...
Depends On:
Blocks: CVE-2026-110677
TreeView+ depends on / blocked
 
Reported: 2026-10-20 20:52 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-10-20 20:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.