{"id":"DEBIAN-CVE-2026-129113","details":"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.  The 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.  A 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.","modified":"2026-11-20T05:00:15.335093838Z","published":"2026-11-14T12:17:43.893Z","upstream":["CVE-2026-129113"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-129113"}],"affected":[{"package":{"name":"libjson-xs-perl","ecosystem":"Debian:12","purl":"pkg:deb/debian/libjson-xs-perl?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.030-2","4.030-3","4.040-1","4.040-1~deb12u1","4.040-1~deb13u1","4.050-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-129113.json"}},{"package":{"name":"libjson-xs-perl","ecosystem":"Debian:13","purl":"pkg:deb/debian/libjson-xs-perl?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.030-2","4.030-3","4.040-1","4.040-1~deb12u1","4.040-1~deb13u1","4.050-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-129113.json"}},{"package":{"name":"libjson-xs-perl","ecosystem":"Debian:14","purl":"pkg:deb/debian/libjson-xs-perl?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.050-1"}]}],"versions":["4.030-2","4.030-3","4.040-1","4.040-1~deb12u1","4.040-1~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-129113.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}