{"id":"DEBIAN-CVE-2026-124541","details":"JSON::XS versions before 4.05 for Perl leak the decoded part of a rejected long string in decode_str.  A string is decoded through a fixed-size buffer (16 KiB in 4.04), and each time the buffer fills its contents move into a new scalar. Nothing frees that scalar when the string is then rejected for a control character, an invalid escape, malformed UTF-8 or the end of the input.  A process that keeps running after a failed decode retains the decoded part of each rejected string, with its size chosen by the sender. Repeated requests exhaust process memory.","modified":"2026-11-20T05:00:13.028979156Z","published":"2026-11-14T12:17:43.777Z","upstream":["CVE-2026-124541"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-124541"}],"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-124541.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-124541.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-124541.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"}]}