製品・ソフトウェアに関する情報
libsndfile projectのlibsndfileにおける整数オーバーフローの脆弱性
Title libsndfile projectのlibsndfileにおける整数オーバーフローの脆弱性
Summary

libsndfile 1.2.2 の IMA ADPCM コーデックに問題が発見されました。AIFF のコードパス(241行目)は (sf_count_t) キャストで修正されましたが、WAV のコードパス(235行目)とクローズパス(167行目)は修正されていませんでした。samplesperblock (int) と blocks (int) の積が INT_MAX を超えると、sf.frames (sf_count_t/int64) に代入される前に 32ビットの乗算でオーバーフローが発生します。samplesperblock=50000、blocks=50000 の場合、積は 2500000000 となり、-1794967296 にオーバーフローします。これによりフレーム数が誤って計算され、ヒープバッファオーバーフローやサービス拒否が引き起こされます。これらの値は WAV ファイルヘッダーから取得され、攻撃者によって制御可能です。この問題は不完全な修正後に発見されました。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 29, 2026, midnight
Registration Date May 7, 2026, 12:06 p.m.
Last Update May 7, 2026, 12:06 p.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected System
libsndfile project
libsndfile 1.2.2
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月07日]
  掲載
May 7, 2026, 12:06 p.m.

NVD Vulnerability Information
CVE-2026-37555
Summary

An issue was discovered in libsndfile 1.2.2 IMA ADPCM codec. The AIFF code path (line 241) was fixed with (sf_count_t) cast, but the WAV code path (line 235) and close path (line 167) were not. When samplesperblock (int) * blocks (int) exceeds INT_MAX, the 32-bit multiplication overflows before being assigned to sf.frames (sf_count_t/int64). With samplesperblock=50000 and blocks=50000, the product 2500000000 overflows to -1794967296. This causes incorrect frame count leading to heap buffer overflow or denial of service. Both values come from the WAV file header and are attacker-controlled. This issue was discovered after an incomplete fix for CVE-2022-33065.

Publication Date April 30, 2026, 1:16 a.m.
Registration Date April 30, 2026, 4:10 a.m.
Last Update May 2, 2026, 3:37 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:libsndfile_project:libsndfile:1.2.2:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List