CVE-2026-129113
published critical CVSS 3.1 · 9.1JSON::XS versions from 4.0_00 before 4.05 for Perl corrupt the incremental buffer length by chopping past its end in incr_skip after a top-level number
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | JSON-XS4.0_00 to < 4.05 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | 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 from 4.0_00 before 4.05 for Perl corrupt the incremental buffer length by chopping past its end in incr_skip after a top-level number. The incremental parser scans any run of digits, signs, dots and exponent markers as one number, but the decoder stops at the end of a valid number, so the parser keeps an offset into bytes it has not decoded. It then empties the buffer without clearing those bytes, and a later incr_parse call without new input reads them again and moves the offset past the end of the buffer. incr_skip, the documented recovery after an error, removes that many bytes and the buffer length wraps. A peer sending input such as "1-2" to an incr_parse consumer can make the next read of incr_text exit the process through perl's uncatchable out-of-memory path.
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
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JSON-XS | 4.0_00 to < 4.05 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-191 CWE-191 Integer Underflow (Wrap or Wraparound)
References
1Provider assertions
2CPANSec · cna
JSON::XS versions from 4.0_00 before 4.05 for Perl corrupt the incremental buffer length by chopping past its end in incr_skip after a top-level number
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7488700500212d4471261b592b5e06cc6d421f21c07167fa6439e34f919cfa8e
- Ingested
- 17 Nov 2026, 15:28:48 UTC
- Source record
- Official CVE record