JSON-XSにリモートから異常終了させられる脆弱性
概要
JSON-XSの4.0_00以降4.05より前のバージョンには、バッファー長が壊れる脆弱性があります。特定の入力を受け取ると、インクリメンタル解析を使うプログラムが強制終了することがあります。修正版の4.05で対応できるため、該当するバージョンを使っている場合は4.05以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
JSON-XSの4.0_00以降4.05より前のバージョンには、バッファー長が壊れる脆弱性があります。特定の入力を受け取ると、インクリメンタル解析を使うプログラムが強制終了することがあります。修正版の4.05で対応できるため、該当するバージョンを使っている場合は4.05以降へ更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| CPANJSON-XS |
4.0_00 以上 4.05 未満→ 4.05 |
4.05 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-129113 libjson-xs-perl 修正版あり
- Ubuntu UBUNTU-CVE-2026-129113 libjson-xs-perl この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
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.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- web metacpan.org
- web nvd.nist.gov
- web github.com