libsndfile: integer overflow in ima_reader_init()
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Libsndfile Project | Libsndfile |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.504% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Overflow in WAV Header Field Causes Heap Buffer Overrun in libsndfile's IMA ADPCM Codec | libsndfile: integer overflow in ima_reader_init() |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:libsndfile_project:libsndfile:1.2.2:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Libsndfile Project
Libsndfile Project libsndfile |
|
| Vendors & Products |
Libsndfile Project
Libsndfile Project libsndfile |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Overflow in WAV Header Field Causes Heap Buffer Overrun in libsndfile's IMA ADPCM Codec | |
| Weaknesses | CWE-119 CWE-20 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-190 | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| References |
|