Patchfirst
CVE-2026-129114 Critical · 9.8 EPSS 0.4%

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 ↓

Summary

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.

Breakdown
16.2 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 14 Nov 2026. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

Affected 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 yet

Also mentioned in 4 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close