CVE-2026-129114
published critical CVSS 3.1 · 9.8JSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | JSON-XS3.04 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 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse. The incremental buffer grows to one and a half times the length it must hold, with no room reserved for the terminating NUL. For an empty buffer and a one-byte chunk that request is one byte, which a buffer whose front was removed by earlier decodes can already have, so nothing is reallocated and the NUL lands one byte past the allocation. A peer streaming data to an incr_parse consumer, choosing how the input is split into reads, can cause a one-byte heap out-of-bounds write.
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.8 / 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:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JSON-XS | 3.04 to < 4.05 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-193 CWE-193 Off-by-one Error
- CWE-122 CWE-122 Heap-based Buffer Overflow
References
1Provider assertions
2CPANSec · cna
JSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7822174b5612fd6604c48fd2b3abc2893cd1150af64c30e71e24b2814b4e0528
- Ingested
- 17 Nov 2026, 15:28:48 UTC
- Source record
- Official CVE record