CVE-2026-124540
published high CVSS 3.1 · 7.5JSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | JSON-XS0 to < 4.05 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-JSON-XSaarch64 | Advisory build | 4.50.0-1.1 | OPENSUSE-SU-2026:12601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-JSON-XSppc64le | Advisory build | 4.50.0-1.1 | OPENSUSE-SU-2026:12601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-JSON-XSs390x | Advisory build | 4.50.0-1.1 | OPENSUSE-SU-2026:12601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-JSON-XSx86_64 | Advisory build | 4.50.0-1.1 | OPENSUSE-SU-2026:12601-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JSON-XS | 0 to < 4.05 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-674 CWE-674 Uncontrolled Recursion
References
1Provider assertions
2CPANSec · cna
JSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9e975825c81ab832ae4d23e4927949cde1030bd093d92b40728025058c8bbb77
- Ingested
- 17 Nov 2026, 15:38:57 UTC
- Source record
- Official CVE record