{"id":"DEBIAN-CVE-2026-124536","details":"JSON::XS versions before 4.05 for Perl allow memory exhaustion by buffering incremental input past max_size after a NUL byte in incr_parse.  The parser appends each chunk to its buffer and compares max_size with how far it has progressed, not with the buffer length. It treats a NUL byte as the end of the input, so a NUL within the first max_size bytes keeps it short of the limit. The buffer keeps growing, and incr_skip cannot remove the NUL.  A peer streaming data to an incr_parse consumer can exhaust process memory regardless of max_size.","modified":"2026-11-20T05:00:14.156609026Z","published":"2026-11-14T12:17:42.840Z","upstream":["CVE-2026-124536"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-124536"}],"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-124536.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-124536.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-124536.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:N/I:N/A:H"}]}