{"id":"CVE-2026-124540","aliases":["CVE-2026-124540"],"related":[],"kind":"vulnerability","state":"published","title":"JSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag","summary":"JSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag.\n\nWith 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.\n\nA run of \"(\" bytes exhausts the C stack and triggers an uncatchable segmentation fault regardless of max_depth.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"JSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag.\n\nWith 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.\n\nA run of \"(\" bytes exhausts the C stack and triggers an uncatchable segmentation fault regardless of max_depth.","source":"cvelist"}],"published":"2026-11-14T11:52:57.348Z","modified":"2026-11-24T19:10:01.980Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"4.05","status":"affected"}],"package":"JSON-XS","repo":"https://cvs.schmorp.de/JSON-XS/","source":"cvelist"}],"references":[{"url":"https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-17T15:28:02.456Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-124540","url":"https://www.cve.org/CVERecord?id=CVE-2026-124540","licence":"CVE Terms of Use","modified":"2026-11-17T15:28:30.265Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-124540","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124540","licence":"Public domain","modified":"2026-11-24T19:10:01.980Z"}],"updatedAt":"2026-11-25T22:59:50.805Z","epss":{"score":0.00439,"percentile":0.3992,"date":"2026-12-01T12:00:22.000Z"}}