CVE-2026-124540

published 14 Nov 2026 · updated 17 Nov 2026

JSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.05.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<4.054.05

Coverage

News and research mentioning this CVE

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-124540 severity on Zeptric[![CVE-2026-124540](https://zeptric.io/badge/cve/CVE-2026-124540.svg)](https://zeptric.io/cve/CVE-2026-124540)