cvelo
P2 · HighCVSS 7.5

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

  • CVE-2026-124540
  • GHSA-r77g-jhw3-q6vc
  • EUVD-2026-125918

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.

Text from the CVE.org record.

Affected

No source names an affected product or package.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.