Bug 2556472 - CVE-2026-110674 perl-Cpanel-JSON-XS: Type confusion via duplicate non-ASCII bare keys [fedora-all]
Summary: CVE-2026-110674 perl-Cpanel-JSON-XS: Type confusion via duplicate non-ASCII b...
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": ["3108c2d1-2234-4050-87e7-e...
Depends On:
Blocks: CVE-2026-110674
TreeView+ depends on / blocked
 
Reported: 2026-10-20 20:50 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:16:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-10-20 20:50: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 4.33 before 4.80 for Perl miss duplicate non-ASCII bare keys, allowing type confusion under dupkeys_as_arrayref in decode_hv.

With allow_barekey, which relaxed enables, a bare key containing a non-ASCII byte is stored as UTF-8 but looked up as raw bytes, so a repeated key escapes the duplicate-key check and replaces the earlier value.

From 4.41, under dupkeys_as_arrayref, a bare repeat replaces the array that collects a key's values with a plain value, and the next quoted repeat pushes onto that value as if it were an array. A JSON integer there is dereferenced as a pointer.

Untrusted JSON decoded with relaxed and dupkeys_as_arrayref can crash the process or dereference an address chosen by a JSON number.

Comment 1 Fedora Update System 2026-10-21 09:13:05 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:15:49 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:32 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:16:57 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:37 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:35 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.