CVE and update status of the FreeBSD ports tree3,924 unaddressed CVEs in 706 portsAll times are CET
CVE details

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. 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.

Score
–
Published
2026-11-14
Links
NVD · cve.org · Report wrong data

Matched ports (1)

PortPackageVersionStatusMaintainer
converters/p5-JSON-XSp5-JSON-XS4.04unaddressedsunpoet@FreeBSD.org

Template for a VuXML entry

Check the content

Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.

Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.

No CPE in the port Makefile

converters/p5-JSON-XS (CPE matched by the package name) has no USES=cpe. The CVE was matched through a CPE from another source, so the package and the version range may belong to a different product. Check the CVE record before using this entry.

  <vuln vid="FIXME (make newentry)">
    <topic>p5-JSON-XS -- FIXME</topic>
    <affects>
      <package>
	<name>p5-JSON-XS</name>
	<range><ge>4.0.00</ge><lt>4.05</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>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. 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.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-129113</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-129113</url>
    </references>
    <dates>
      <discovery>2026-11-14</discovery>
      <entry>2026-11-15</entry>
    </dates>
  </vuln>