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…
Fix:see the vendor's fix instructions Instructions ↓
The flaw is an off-by-one heap buffer overflow in the incremental parsing routine (incr_parse) of JSON::XS, affecting versions from 3.04 before 4.05 for Perl. When appending a one-byte chunk to an empty buffer that has had its front removed by earlier decodes, the buffer is not reallocated, so the terminating NUL is written one byte past the allocation.
Official description · NVD
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Disclosed on 14 Nov 2026. No public exploit code or confirmed exploitation is recorded.
Affected versions and fixes
as published in the CVE recordAffected product
Affected: >= 3.04, < 4.05
Fix
Upgrade to JSON-XS 4.05 or later.
What security researchers reported
Not named in any threat report yetAlso mentioned in 4 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Nov 18, 2026 | Part 3/317 Nov 2026
- Known_Cve | Nov 17, 2026 | Part 3/316 Nov 2026
- Known_Cve | Nov 16, 2026 | Part 3/315 Nov 2026
- Known_Cve | Nov 15, 2026 | Part 3/314 Nov 2026