{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "JSON::XS versions from 4.0_00 before 4.05 for Perl corrupt the incremental buffer length by chopping past its end in incr_skip after a top-level number.\n\nThe incremental parser scans any run of digits, signs, dots and exponent markers as one number, but the decoder stops at the end of a valid number, so the parser keeps an offset into bytes it has not decoded. It then empties the buffer without clearing those bytes, and a later incr_parse call without new input reads them again and moves the offset past the end of the buffer. incr_skip, the documented recovery after an error, removes that many bytes and the buffer length wraps.\n\nA peer sending input such as \"1-2\" to an incr_parse consumer can make the next read of incr_text exit the process through perl's uncatchable out-of-memory path.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-JSON-XS-2026-129113 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-json-xs-2026-129113.json" }, { "category": "external", "summary": "https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes", "url": "https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes" }, { "category": "external", "summary": "CVE-2026-129113 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129113" } ], "title": "JSON-XS vulnerability", "tracking": { "current_release_date": "2026-11-14T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-JSON-XS-2026-129113", "initial_release_date": "2026-11-14T00:00:00", "revision_history": [ { "date": "2026-11-14T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/>=3.0|<4.05", "product": { "name": "JSON-XS greater than or equal 3.0 and less than 4.05", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/JSON-XS" } } }, { "category": "product_version_range", "name": "vers:cpan/>=4.05", "product": { "name": "JSON-XS greater than or equal 4.05", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/JSON-XS" } } } ], "category": "product_name", "name": "JSON-XS" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-129113", "cwe": { "id": "CWE-191", "name": "Integer Underflow (Wrap or Wraparound)" }, "notes": [ { "category": "description", "text": "JSON::XS versions from 4.0_00 before 4.05 for Perl corrupt the incremental buffer length by chopping past its end in incr_skip after a top-level number.\n\nThe incremental parser scans any run of digits, signs, dots and exponent markers as one number, but the decoder stops at the end of a valid number, so the parser keeps an offset into bytes it has not decoded. It then empties the buffer without clearing those bytes, and a later incr_parse call without new input reads them again and moves the offset past the end of the buffer. incr_skip, the documented recovery after an error, removes that many bytes and the buffer length wraps.\n\nA peer sending input such as \"1-2\" to an incr_parse consumer can make the next read of incr_text exit the process through perl's uncatchable out-of-memory path.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 9.1, "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }