CVE-2026-124540

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.
Configurations

No configuration.

History

17 Nov 2026, 16:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

14 Nov 2026, 12:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-14 12:17

Updated : 2026-11-24 19:10


NVD link : CVE-2026-124540

Mitre link : CVE-2026-124540

CVE.ORG link : CVE-2026-124540


JSON object : View

Products Affected

No product.

CWE
CWE-674

Uncontrolled Recursion