CVE-2026-124540
JSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag
- Severity
- high CVSS 7.5 (v3.1)
- Weakness
- CWE-674 Uncontrolled Recursion
- Published
- 14 November 2026 by CPANSec
- First seen on our lists
- 14 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] JSON-XS versions before 4.05 for Perl (7 CVEs)