CVE-2026-124540

Status: Received

Description

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.

Published
November 14, 2026 12:17 PM
Last Modified
November 14, 2026 12:17 PM
Source
9b29abf9-4ab0-4765-b253-1875cd9b441e

Weaknesses (CWE)

CWE-674

References

Contact Us

Get the CyboWatch SIEM platform, hosting, and 24×7 SOC analysts. Send an enquiry, or call or email us to get started.

Send an enquiry