CVE-2026-129113
CVE-2026-129113 · 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
CVSS 9.1 · Critical · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- libjson-xs-perl Debian 12No fix published
- libjson-xs-perl Debian 13No fix published
- libjson-xs-perl Debian 14Update to 4.050-1
- libjson-xs-perl Ubuntu 14.04 LTSNo fix published
- and 7 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libjson-xs-perl"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:12601-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
libjson-xs-perl Debian 12
- Versions
- 4.030-2
- 4.030-3
- 4.040-1
- 4.040-1~deb12u1
- 4.040-1~deb13u1
- 4.050-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libjson-xs-perl Debian 13
- Versions
- 4.030-2
- 4.030-3
- 4.040-1
- 4.040-1~deb12u1
- 4.040-1~deb13u1
- 4.050-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libjson-xs-perl Debian 14
- Versions
- 4.030-2
- 4.030-3
- 4.040-1
- 4.040-1~deb12u1
- 4.040-1~deb13u1
- Affected ranges
- ECOSYSTEM: < 4.050-1
Update to 4.050-1
libjson-xs-perl Ubuntu 14.04 LTS
- Versions
- 2.340-1
- 2.340-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libjson-xs-perl Ubuntu 16.04 LTS
- Versions
- 3.010-2
- 3.010-2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libjson-xs-perl Ubuntu 18.04 LTS
- Versions
- 3.030-1build1
- 3.040-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libjson-xs-perl Ubuntu 20.04 LTS
- Versions
- 4.020-1
- 4.020-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libjson-xs-perl Ubuntu 22.04 LTS
- Versions
- 4.030-1build2
- 4.030-1build3
- 4.040-0ubuntu0.22.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libjson-xs-perl Ubuntu 24.04 LTS
- Versions
- 4.030-2
- 4.030-2build1
- 4.030-2build2
- 4.030-2build3
- 4.040-0ubuntu0.24.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libjson-xs-perl Ubuntu 26.10
- Versions
- 4.040-1
- 4.040-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libjson-xs-perl Ubuntu 26.04 LTS
- Versions
- 4.040-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published