Описание
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.
A flaw was found in the libsndfile library. An integer overflow in the IMA ADPCM codec can occur when a specially crafted WAV audio file is processed, specifically with malicious samplesperblock and blocks values. This can lead to a heap-based buffer overflow, causing a crash to the application linked to the library and memory corruption.
Отчет
To exploit this issue, an attacker needs to be able to process a malicious WAV file with an application linked to the libsndfile library. Default Red Hat Enterprise Linux security features, including SELinux enforcement, Address Space Layout Randomization (ASLR) and NX (No-Execute) stack protection, significantly increase the difficulty of achieving arbitrary code execution, limiting the impact of this vulnerability. Due to these reasons, this flaw has been rated with an important severity.
Меры по смягчению последствий
Do not process untrusted WAV files with the libsndfile library.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | libsndfile | Out of support scope | ||
| Red Hat Enterprise Linux 7 | libsndfile | Out of support scope | ||
| Red Hat Enterprise Linux 10 | libsndfile | Fixed | RHSA-2026:19560 | 20.05.2026 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | libsndfile | Fixed | RHSA-2026:25092 | 10.06.2026 |
| Red Hat Enterprise Linux 8 | libsndfile | Fixed | RHSA-2026:19559 | 20.05.2026 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | libsndfile | Fixed | RHSA-2026:25197 | 11.06.2026 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | libsndfile | Fixed | RHSA-2026:25197 | 11.06.2026 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | libsndfile | Fixed | RHSA-2026:25198 | 11.06.2026 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | libsndfile | Fixed | RHSA-2026:25198 | 11.06.2026 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | libsndfile | Fixed | RHSA-2026:25227 | 11.06.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
8.2 High
CVSS3
Связанные уязвимости
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.
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.
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.
An issue was discovered in libsndfile 1.2.2 IMA ADPCM codec. The AIFF ...
EPSS
8.2 High
CVSS3