Bug 2556489 - CVE-2026-110684 perl-Cpanel-JSON-XS: Memory leak in encode_stringify when encoding overloaded objects [epel-all]
Summary: CVE-2026-110684 perl-Cpanel-JSON-XS: Memory leak in encode_stringify when enc...
Keywords:
Status: MODIFIED
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": ["090cd7ad-8d6b-4074-a990-1...
Depends On:
Blocks: CVE-2026-110684
TreeView+ depends on / blocked
 
Reported: 2026-10-20 20:53 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-10-21 08:50 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:53:01 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 3.0202 before 4.80 for Perl leak memory and retain overloaded objects when encoding values as strings in encode_stringify.

encode_stringify writes a value in its string form under allow_stringify, under convert_blessed for objects without TO_JSON, and under allow_bignum. For an array or hash object with a "" overload, and from 4.20 a scalar object, it takes an extra reference that is never released, so the object and everything it references are never freed. From 4.10 it also never frees its copy of the string.

Repeatedly encoding data that contains such values grows process memory without bound.

Comment 1 Fedora Update System 2026-10-21 07:41:53 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:53 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:32 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:41 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:46 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


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