{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-110687",
        "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "state": "PUBLISHED",
        "assignerShortName": "CPANSec",
        "dateReserved": "2026-10-14T13:27:15.271Z",
        "datePublished": "2026-10-19T18:12:22.028Z",
        "dateUpdated": "2026-10-19T18:12:22.028Z"
    },
    "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": "utf16_cmp"
                        }
                    ],
                    "repo": "https://github.com/rurban/Cpanel-JSON-XS",
                    "versions": [
                        {
                            "lessThan": "4.80",
                            "status": "affected",
                            "version": "4.43",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Cpanel::JSON::XS versions from 4.43 before 4.80 for Perl misorder byte-string keys during canonical encoding in utf16_cmp.\n\ncanonical sorts keys by UTF-16 code units. When any key in a hash is UTF-8 flagged, every key is decoded as UTF-8 for the comparison, including byte-string keys that the encoder writes out as Latin-1 characters. A byte-string key whose bytes are valid UTF-8 is sorted out of order, and two keys that encode differently can compare equal and are left in hash order.\n\nThe same data can encode to different canonical documents across processes."
                }
            ],
            "problemTypes": [
                {
                    "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:12:22.028Z"
            },
            "references": [
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/rurban/Cpanel-JSON-XS/commit/bb9da30b67f637f4d57922f0e043376363f28f0c.patch"
                },
                {
                    "tags": [
                        "release-notes"
                    ],
                    "url": "https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.80/changes"
                }
            ],
            "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.43 before 4.80 for Perl misorder byte-string keys during canonical encoding in utf16_cmp",
            "x_generator": {
                "engine": "cpansec-cna-tool 0.1"
            }
        }
    }
}