Every CVE Search/ Get API key

CVE-2025-52194

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier...

7.5 HighFix available

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.65%Up 0.6 points since Aug 22, 2025
90%50%10%1%

What each source reports

CVE List Score used 7.5

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Record
CVE-2025-52194
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-121
Updated
2026-11-02
EUVDEUVD-2025-25491 7.5

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Record
EUVD-2025-25491
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-3w6g-vv96-4ph6 7.5

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier...

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Record
GHSA-3w6g-vv96-4ph6
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-121
Updated
2026-11-02
NVD 7.5

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Record
CVE-2025-52194
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-121
Updated
2026-11-02
OSV 7.5

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Record
CVE-2025-52194
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2025-52194 7.5

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Record
DEBIAN-CVE-2025-52194
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 12 moreShow less
OSVUBUNTU-CVE-2025-52194 7.5

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Record
UBUNTU-CVE-2025-52194
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-66669 No score

CVE-2025-52194 affecting package libsndfile 1.0.31-4

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Record
AZL-66669
Updated
2026-11-02
OSVAZL-66671 No score

CVE-2025-52194 affecting package libsndfile 1.2.2-5

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.

Record
AZL-66671
Updated
2026-11-02
OSVCLSA-2026-1786483996 No score

libsndfile: Fix of CVE-2025-52194

  • CVE-2025-52194: fix undefined behavior on float samplerate cast in ircam_read_header by using psf_lrintf (upstream 7ff854d1)
Record
CLSA-2026-1786483996
Updated
2026-11-02
OSVCLSA-2026-1786490187 No score

libsndfile: Fix of CVE-2025-52194

  • CVE-2025-52194: fix undefined behavior on float samplerate cast in ircam_read_header by using psf_lrintf (upstream 7ff854d1)
Record
CLSA-2026-1786490187
Updated
2026-11-02
OSVCLSA-2026-1788170819 No score

Fix CVE(s): CVE-2021-4156, CVE-2022-33065, CVE-2025-52194

  • SECURITY UPDATE: multiple signed integer overflows in the AU, MAT4/MAT5, AVR, SDS, AIFF, IRCAM, RF64, PCM and IMA-ADPCM header parsers allow denial of service via a crafted file (ELSCVE-171688)
    • debian/patches/CVE-2022-33065/CVE-2022-33065-{1..8,11..13}.patch: widen the overflowing data_end, blockwidth and sample-count calculations to sf_count_t in src/au.c, src/mat4.c, src/mat5.c, src/avr.c, src/sds.c, src/aiff.c, src/ircam.c, src/common.h, src/common.c, src/pcm.c, src/rf64.c and src/ima_adpcm.c. Byte-identical to Ubuntu's own patches as shipped in the public focal security source 1.0.28-7ubuntu0.3 (same upstream 1.0.28, same 13-patch prefix); the bionic +esm1 artifact itself is Ubuntu Pro-gated. Note that Ubuntu's CVE-2022-33065-13.patch is a squash of three upstream commits rather than the single one its header names: 3970faeb (IMA ADPCM nibble sizing) and 7e6cc7cb (stepindx initialisation) are prerequisites that 1.0.28 predates, alongside the cited 9f097e49 which carries the CVE-2022-33065 fix proper; all three are credited in that patch's provenance note.
    • CVE-2022-33065
  • SECURITY UPDATE: out-of-bounds read in the FLAC decoder when a frame fails to decode and the stale frame pointer is reused (ELSCVE-171682)
    • debian/patches/CVE-2021-4156.patch: NULL pflac->frame when FLAC__stream_decoder_process_single() fails in flac_read_loop() in src/flac.c. Byte-identical to Ubuntu's own patch as shipped in the public focal security source 1.0.28-7ubuntu0.3; upstream commit ced91d7b971be6173b604154c39279ce90ad87cc.
    • CVE-2021-4156
  • SECURITY UPDATE: undefined float-to-int conversion of the IRCAM header sample rate on out-of-range or non-finite values (ELSCVE-171686)
    • debian/patches/CVE-2025-52194.patch: convert the file-supplied sample rate with lrintf() instead of a bare (int) cast in ircam_read_header() in src/ircam.c, and include <math.h>. Backport of upstream commit 7ff854d1e0bd9a751a9ff52ed980c62afced91fe, adapted because 1.0.28 has no psf_lrintf() helper; src/mat4.c already uses lrint() for the same purpose in this tree.
    • CVE-2025-52194
Record
CLSA-2026-1788170819
Updated
2026-11-02
OSVMGASA-2026-0215 No score

Updated libsndfile packages fix security vulnerabilities

CVE-2025-52194 A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution. CVE-2025-56226 Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file. CVE-2026-37555 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.

Record
MGASA-2026-0215
Updated
2026-11-02
OSVopenSUSE-SU-2026:10730-1 No score

libsndfile-devel-1.2.2-5.1 on GA media

These are all security issues fixed in the libsndfile-devel-1.2.2-5.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10730-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:20787-1 No score

Security update for libsndfile

This update for libsndfile fixes the following issues

  • CVE-2025-52194: buffer overflow in the ircam_read_header function of file src/ircam.c when processing malformed IRCAM audio files (bsc#1248458).
  • CVE-2025-56226: memory leak in the mpeg_l3_encoder_init() function of mpeg_l3_encode.c (bsc#1256702).
  • CVE-2026-37555: IMA-ADPCM integer overflow (bsc#1263695).

Changes for libsndfile:

Record
openSUSE-SU-2026:20787-1
Updated
2026-11-02
OSVSUSE-SU-2026:1968-1 No score

Security update for libsndfile

This update for libsndfile fixes the following issues

  • CVE-2025-52194: buffer overflow in the ircam_read_header function of file src/ircam.c when processing malformed IRCAM audio files (bsc#1248458).
  • CVE-2026-37555: IMA-ADPCM integer overflow (bsc#1263695).
Record
SUSE-SU-2026:1968-1
Updated
2026-11-02
OSVSUSE-SU-2026:1969-1 No score

Security update for libsndfile

This update for libsndfile fixes the following issues

  • CVE-2025-52194: buffer overflow in the ircam_read_header function of file src/ircam.c when processing malformed IRCAM audio files (bsc#1248458).
  • CVE-2026-37555: IMA-ADPCM integer overflow (bsc#1263695).
Record
SUSE-SU-2026:1969-1
Updated
2026-11-02
OSVSUSE-SU-2026:21826-1 No score

Security update for libsndfile

This update for libsndfile fixes the following issues

  • CVE-2025-52194: buffer overflow in the ircam_read_header function of file src/ircam.c when processing malformed IRCAM audio files (bsc#1248458).
  • CVE-2025-56226: memory leak in the mpeg_l3_encoder_init() function of mpeg_l3_encode.c (bsc#1256702).
  • CVE-2026-37555: IMA-ADPCM integer overflow (bsc#1263695).

Changes for libsndfile:

Record
SUSE-SU-2026:21826-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libsndfile
Azure Linux:2
through 1.0.31-4 None known
libsndfile
Azure Linux:3
through 1.2.2-5 None known
libsndfile
TuxCare:AlmaLinux:9.2
before 1.0.31-7.el9_2.tuxcare.els4
1.0.31-7.el9_2.tuxcare.els4
libsndfile-devel
TuxCare:AlmaLinux:9.2
before 1.0.31-7.el9_2.tuxcare.els4
1.0.31-7.el9_2.tuxcare.els4
libsndfile-utils
TuxCare:AlmaLinux:9.2
before 1.0.31-7.el9_2.tuxcare.els4
1.0.31-7.el9_2.tuxcare.els4
libsndfile
TuxCare:AlmaLinux:9.6
before 1.0.31-9.el9_6.tuxcare.els2
1.0.31-9.el9_6.tuxcare.els2
libsndfile-devel
TuxCare:AlmaLinux:9.6
before 1.0.31-9.el9_6.tuxcare.els2
1.0.31-9.el9_6.tuxcare.els2
libsndfile-utils
TuxCare:AlmaLinux:9.6
before 1.0.31-9.el9_6.tuxcare.els2
1.0.31-9.el9_6.tuxcare.els2
libsndfile1
TuxCare:Ubuntu:18.04
before 1.0.28-4ubuntu0.18.04.2+tuxcare.els1
1.0.28-4ubuntu0.18.04.2+tuxcare.els1
libsndfile1-dev
TuxCare:Ubuntu:18.04
before 1.0.28-4ubuntu0.18.04.2+tuxcare.els1
1.0.28-4ubuntu0.18.04.2+tuxcare.els1
Show 12 moreShow less
Affected packages
PackageAffectedFixed
sndfile-programs
TuxCare:Ubuntu:18.04
before 1.0.28-4ubuntu0.18.04.2+tuxcare.els1
1.0.28-4ubuntu0.18.04.2+tuxcare.els1
libsndfile
Mageia:9
before 1.2.0-3.3.mga9
1.2.0-3.3.mga9
libsndfile
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
1.0.25-7ubuntu11.0.25-7ubuntu21.0.25-7ubuntu2.11.0.25-7ubuntu2.21.0.25-7ubuntu2.2+esm11.0.25-7ubuntu2.2+esm21.0.25-7ubuntu2.2+esm31.0.25-7ubuntu2.2+esm4
None known
libsndfile
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.0.25-9.11.0.25-101.0.25-10ubuntu0.16.04.11.0.25-10ubuntu0.16.04.21.0.25-10ubuntu0.16.04.3
Show 4 moreShow less
1.0.25-10ubuntu0.16.04.3+esm11.0.25-10ubuntu0.16.04.3+esm21.0.25-10ubuntu0.16.04.3+esm31.0.25-10ubuntu0.16.04.3+esm4
None known
libsndfile
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
1.0.28-41.0.28-4ubuntu0.18.04.11.0.28-4ubuntu0.18.04.21.0.28-4ubuntu0.18.04.2+esm11.0.28-4ubuntu0.18.04.2+esm2
None known
libsndfile
Ubuntu:20.04:LTS
All versions, plus listed versions
1.0.28-61.0.28-71.0.28-7ubuntu0.11.0.28-7ubuntu0.21.0.28-7ubuntu0.3
None known
libsndfile
Ubuntu:22.04:LTS
All versions, plus listed versions
1.0.31-21.0.31-2build11.0.31-2ubuntu0.11.0.31-2ubuntu0.2
None known
libsndfile
Ubuntu:24.04:LTS
All versions, plus listed versions
1.2.2-11.2.2-1ubuntu21.2.2-1ubuntu31.2.2-1ubuntu41.2.2-1ubuntu51.2.2-1ubuntu5.24.04.1
None known
libsndfile
Ubuntu:25.10
All versions, plus listed versions
1.2.2-2build11.2.2-3
None known
libsndfile
Ubuntu:26.10
All versions, plus listed versions
1.2.2-4
None known
libsndfile
Ubuntu:26.04:LTS
All versions, plus listed versions
1.2.2-31.2.2-4
None known
libsndfile
openSUSE:Tumbleweed
before 1.2.2-5.1
1.2.2-5.1

History

History
RecordedChangedSources
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-52194 is a high vulnerability (CVSS 7.5) in Libsndfile Project Libsndfile, published August 21, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in libsndfile 1.0.31-7.el9_2.tuxcare.els4.

References

Show 19 moreShow less
MoveEnter Open