UBUNTU-CVE-2026-124540
Dashboard / Vulnerabilities / UBUNTU-CVE-2026-124540
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2026-124540, https://www.cve.org/CVERecord?id=CVE-2026-124540, https://lists.security.metacpan.org/cve-announce/msg/45150798/, https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes
Affected packages
Package
Name: libjson-xs-perl
Purl: pkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=trusty
Affected ranges
Type: ECOSYSTEM
Events:
