Bug 2556482 - CVE-2026-110685 perl-Cpanel-JSON-XS: Memory leak in decode_tag when THAW method dies [fedora-all]
Summary: CVE-2026-110685 perl-Cpanel-JSON-XS: Memory leak in decode_tag when THAW meth...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Cpanel-JSON-XS
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["5035cd4b-dceb-40d7-b78c-5...
Depends On:
Blocks: CVE-2026-110685
TreeView+ depends on / blocked
 
Reported: 2026-10-20 20:51 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-10-31 18:42 UTC (History)
2 users (show)

Fixed In Version: perl-Cpanel-JSON-XS-4.80-1.fc43 perl-Cpanel-JSON-XS-4.80-1.fc44 perl-Cpanel-JSON-XS-4.80-1.fc45
Clone Of:
Environment:
Last Closed: 2026-10-24 16:17:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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

Comment 4 Fedora Update System 2026-10-24 16:17:13 UTC
FEDORA-2026-4447e52d23 (perl-Cpanel-JSON-XS-4.80-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-10-24 16:36:48 UTC
FEDORA-2026-3ab4727120 (perl-Cpanel-JSON-XS-4.80-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-10-31 18:42:46 UTC
FEDORA-2026-ad8dfeadc9 (perl-Cpanel-JSON-XS-4.80-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


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