Vulnerability record · OpenEuler 24.03-LTS-SP3
An update for libsndfile is now available for openEuler-24.03-LTS-SP3
OpenEuler 24.03-LTS-SP3
What it fixes
Synopsis:
libsndfile security updateSummary:
An update for libsndfile is now available for openEuler-24.03-LTS-SP3Description:
Libsndfile is a C library for reading and writing files containing sampled sound such as MS Windows WAV and the Apple/SGI AIFF format through one standard library interface.
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.(CVE-2026-37555)Topic:
An update for libsndfile is now available for openEuler-24.03-LTS-SP3.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
HighAffected Component:
libsndfile
Manual fix · OpenEuler 24.03-LTS-SP3
sudo dnf upgrade libsndfile libsndfile-devel libsndfile-utils libsndfile-utils-helprpm -q libsndfile libsndfile-devel libsndfile-utils libsndfile-utils-helpSources