Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessStream data to incr_parse consumer
-
DeliverySplit input so a one-byte chunk is appended
-
ExploitHit buffer whose front was freed by earlier decodes
-
ExecutionTrigger off-by-one NUL write past heap allocation
-
ImpactCorrupt adjacent heap memory / crash consumer
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
|
| Exploitation Conditions | Requires that the target application use the JSON::XS incremental streaming API (incr_parse) and feed it data from an untrusted peer who controls how the input stream is chunked into reads; the overflow triggers specifically when a one-byte chunk is appended to an incremental buffer whose front was already removed by earlier decodes, so the one-byte (plus-NUL) request fits the existing allocation and no reallocation occurs, placing the NUL one byte past the buffer. Affected versions are 3.04 up to but not including 4.05. LIMITING FACTORS: this does not affect ordinary one-shot decode_json usage - only consumers using the incremental parser are exposed; the attacker must control stream chunking (send a deliberate one-byte read) and the heap/buffer must be in the specific post-decode state described. The only complete fix stated by the sources is updating to JSON::XS 4.05. |
| Impact | The signals conflict sharply and must be weighed, not taken at face value. NVD scores this 9.8 CRITICAL with C:H/I:H/A:H, but the described defect is a single one-byte out-of-bounds write of the terminating NUL one byte past a heap allocation (CWE-193) - a magnitude of corruption that realistically risks heap-metadata damage, a crash, or limited adjacent corruption rather than the full confidentiality/integrity/availability compromise the vector asserts; the C:H/I:H/A:H rating appears inflated relative to the mechanism actually described. Exploitation-probability signals are low and point to non-widespread risk: EPSS is 0.20% (10th percentile), SSVC exploitation status is 'none' (no observed exploitation), and the CVE is not in CISA KEV - no public exploit identified at time of analysis. The upward pressure comes from SSVC Automatable=yes and Technical Impact=total plus the vuln.today 'act_now' priority label, which together drive urgency despite the low EPSS. Net: this is a genuine remotely-reachable memory-safety bug that should be patched promptly per the act_now decision, but the gap between the 9.8/total-impact framing and a described single-NUL-byte overflow means the practical worst case (whether it reaches code execution versus denial of service) is not established by the available evidence and should be treated as unproven, not confirmed RCE. |
| Exploit ScenarioDerived | A service that feeds a network peer's data into a JSON::XS incremental parser (incr_parse) lets that peer choose how the byte stream is split into reads. By sending a one-byte chunk when the internal incremental buffer's front has been consumed by earlier decodes, the peer causes JSON::XS to append without reserving room for the NUL, writing one byte past the heap allocation. No public exploit identified at time of analysis; the realistic observed outcome is heap corruption that may crash the consumer. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
A one-byte heap out-of-bounds write in JSON::XS (Perl) versions 3.04 through 4.04 allows a peer streaming data to an incr_parse consumer to corrupt memory one byte past a heap allocation by controlling how the incoming stream is split into reads. Only applications using the incremental streaming parser are exposed - ordinary one-shot decode_json consumers are not - and the overwrite is a single terminating NUL byte placed outside the buffer, so real-world impact depends on what the adjacent heap byte controls; the assessed vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L) is materially more conservative than the 9.8 base score published with the CVE. No public exploit identified at time of analysis, EPSS is low at 0.20% (10th percentile), and SSVC records exploitation as none while marking the flaw automatable with total technical impact; despite that, vuln.today assigns an act_now decision label, and the sources state the only complete fix is upgrading to JSON::XS 4.05.
RemediationAI
Vendor-released patch: JSON::XS 4.05. The sources state that updating to 4.05 is the only complete fix, so upgrade the distribution (cpanm JSON::XS@4.05 or your distribution package once it ships 4.05) and rebuild dependent XS modules against it; verify the installed version with perl -MJSON::XS -e 'print $JSON::XS::VERSION'. Because the trigger requires the remote peer to control how the stream is chunked into reads, aggregating or re-chunking upstream input before it reaches incr_parse removes the precondition described in the advisory, and keeping untrusted streams off the incremental parser in favour of one-shot decode_json avoids the affected code path entirely - but neither is presented as a substitute for the upgrade, which remains the only complete fix stated. Advisory and release references: https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes, https://seclists.org/oss-sec/2026/q4/706, https://vuldb.com/vuln/437437, https://nvd.nist.gov/vuln/detail/CVE-2026-129114.
Affected ProductsAI
The JSON::XS Perl distribution, versions 3.04 through the releases immediately preceding 4.05 (i.e., 3.04 <= version < 4.05), running on any platform where the XS module is compiled; no CPE identifiers were supplied with the intelligence data. Exposure is limited to code paths that call the incremental streaming API incr_parse on data originating from an untrusted peer - applications that only use decode_json are not affected per the assessment. Release notes for the fixed version are at https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes, with the upstream disclosure thread at https://seclists.org/oss-sec/2026/q4/706 and additional advisory records at https://vuldb.com/vuln/437437, https://nvd.nist.gov/vuln/detail/CVE-2026-129114 and ENISA EUVD-2026-125915.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
JSON::XS is a Perl XS (C-level) JSON encoder/decoder, so parsing operates directly on heap-allocated byte buffers rather than Perl-managed scalars. Its incremental API, incr_parse, buffers partial input across calls and grows its working buffer to roughly one and a half times the length it must hold, without reserving space for the terminating NUL byte - the root cause class is CWE-193 (off-by-one). For an empty incremental buffer receiving a one-byte chunk, the requested capacity is just one byte, a size that a buffer whose front was already consumed by earlier decodes can already satisfy, so the growth path performs no reallocation and the NUL terminator is written one byte past the end of the allocation. The bug is therefore state-dependent: it requires the specific post-decode buffer layout plus an appended one-byte chunk, and it is reachable only by a peer who determines how the byte stream is chunked into reads. The supplied data contains no CPE strings; the affected component is identified by the JSON::XS distribution versions 3.04 up to but not including 4.05, and the trigger preconditions are as described in the upstream CPANSec/oss-security disclosure.
Know when Perl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Remote peer-triggered via incr_parse (AV:N, PR:N, UI:N) but needs a specific freed-front buffer state and controlled chunking (AC:H); a single NUL overflow gives limited integrity/availability impact, not confidentiality (C:N/I:L/A:L).
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-129114 is a critical-severity memory corruption flaw in the JSON::XS Perl library (versions 3.04-4.04) that only affects applications using the incremental streaming parser. While no active exploitation has been observed, the potential for remote peer-triggered heap corruption could disrupt service availability and data integrity for impacted systems, warranting immediate remediation to avoid operational disruption.
No vendor-released patch identified at time of analysis; interim mitigation is to avoid the incr_parse streaming parser entirely and use one-shot decoding until version 4.05 can be deployed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand
Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before
The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated
Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid
Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa
Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha
Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers
EUVD-2026-125915
GHSA-pmvq-m677-6p9m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB