{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-110674",
        "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "state": "PUBLISHED",
        "assignerShortName": "CPANSec",
        "dateReserved": "2026-10-14T13:23:26.098Z",
        "datePublished": "2026-10-19T18:11:25.890Z",
        "dateUpdated": "2026-10-19T18:11:25.890Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://cpan.org/modules",
                    "defaultStatus": "unaffected",
                    "modules": [
                        "Cpanel::JSON::XS"
                    ],
                    "packageName": "Cpanel-JSON-XS",
                    "packageURL": "pkg:cpan/Cpanel-JSON-XS",
                    "programFiles": [
                        "XS.xs"
                    ],
                    "programRoutines": [
                        {
                            "name": "decode_hv"
                        }
                    ],
                    "repo": "https://github.com/rurban/Cpanel-JSON-XS",
                    "versions": [
                        {
                            "lessThan": "4.80",
                            "status": "affected",
                            "version": "4.33",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.\n\nWith 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.\n\nFrom 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.\n\nUntrusted JSON decoded with relaxed and dupkeys_as_arrayref can crash the process or dereference an address chosen by a JSON number."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-843",
                            "description": "CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-176",
                            "description": "CWE-176 Improper Handling of Unicode Encoding",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
                "shortName": "CPANSec",
                "dateUpdated": "2026-10-19T18:11:25.890Z"
            },
            "references": [
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/rurban/Cpanel-JSON-XS/commit/c52037857d6a99d96ebd1ce3e2fa769505f028cf.patch"
                },
                {
                    "tags": [
                        "release-notes"
                    ],
                    "url": "https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.80/changes"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://www.cve.org/CVERecord?id=CVE-2026-9334"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade to Cpanel-JSON-XS 4.80 or later."
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "timeline": [
                {
                    "lang": "en",
                    "time": "2026-10-14T00:00:00.000Z",
                    "value": "Version 4.80 released with fix."
                }
            ],
            "title": "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",
            "x_generator": {
                "engine": "cpansec-cna-tool 0.1"
            }
        }
    }
}