Skip to content
Critical 9.8

JSON-XSにヒープ領域の範囲外書き込みの脆弱性、遠隔から攻撃されるおそれ

CVE-2026-129114 First seen on SecPulse

Summary

JSON-XSの3.04以降4.05より前のバージョンには、incr_parseで1バイトのデータを追加する際にヒープ領域の範囲外へ1バイト書き込んでしまう脆弱性があります。通信相手が入力の分割を工夫すると、遠隔から悪用されるおそれがあり、CVSSは9.8の緊急度です。修正版の4.05で修正できるため、早急にアップデートしてください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

JSON-XSの3.04以降4.05より前のバージョンには、incr_parseで1バイトのデータを追加する際にヒープ領域の範囲外へ1バイト書き込んでしまう脆弱性があります。通信相手が入力の分割を工夫すると、遠隔から悪用されるおそれがあり、CVSSは9.8の緊急度です。修正版の4.05で修正できるため、早急にアップデートしてください。

Affected packages

PackageAffected → Fixed
CPANJSON-XS
≥ 3.04, < 4.05→ 4.05

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details