{"id":"DEBIAN-CVE-2026-124540","details":"JSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag.  With allow_tags, \"(\" starts a tagged value. Its tag and value are decoded recursively, and each can start another tagged value. Unlike arrays and objects, this nesting is not counted against max_depth.  A run of \"(\" bytes exhausts the C stack and triggers an uncatchable segmentation fault regardless of max_depth.","modified":"2026-11-20T05:00:13.046774083Z","published":"2026-11-14T12:17:43.667Z","upstream":["CVE-2026-124540"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-124540"}],"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-124540.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-124540.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-124540.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"}]}