CVE-2026-129114

Public on 2026-11-14
Modified on 2026-11-17
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.
Severity
Medium severity
Medium
See what this means
CVSS v3 Base Score
4.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core perl Not Affected
Amazon Linux 2023 perl Not Affected
Amazon Linux 2027 Preview perl Not Affected
Amazon Linux 2 - Core perl-JSON-XS Not Affected
Amazon Linux 2023 perl-JSON-XS Pending Fix
Amazon Linux 2027 Preview perl-JSON-XS Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L