CVE-2025-56226
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function...
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
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
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
- Record
CVE-2025-56226- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-401
- Updated
- 2026-11-02
EUVDEUVD-2026-2514
5.3
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
- Record
EUVD-2026-2514- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-84f2-pwrw-r53v
5.3
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function...
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
- Record
GHSA-84f2-pwrw-r53v- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-401
- Updated
- 2026-11-02
NVD
5.3
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
- Record
CVE-2025-56226- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-401
- Updated
- 2026-11-02
OSV
5.3
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
- Record
CVE-2025-56226- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-56226
5.3
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
- Record
DEBIAN-CVE-2025-56226- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Show 10 moreShow less
OSVOESA-2026-1603
5.3
libsndfile security update
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.
Security Fix(es):
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.(CVE-2025-56226)
- Record
OESA-2026-1603- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVOESA-2026-1604
5.3
libsndfile security update
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.
Security Fix(es):
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.(CVE-2025-56226)
- Record
OESA-2026-1604- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVOESA-2026-1605
5.3
libsndfile security update
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.
Security Fix(es):
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.(CVE-2025-56226)
- Record
OESA-2026-1605- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVOESA-2026-1606
5.3
libsndfile security update
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.
Security Fix(es):
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.(CVE-2025-56226)
- Record
OESA-2026-1606- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-56226
5.3
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
- Record
UBUNTU-CVE-2025-56226- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVAZL-74855 No score
CVE-2025-56226 affecting package libsndfile for versions less than 1.2.2-4
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
- Record
AZL-74855- 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:10061-1 No score
libsndfile-devel-1.2.2-4.1 on GA media
These are all security issues fixed in the libsndfile-devel-1.2.2-4.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10061-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 ofmpeg_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: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 ofmpeg_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
| Package | Affected | Fixed |
|---|---|---|
libsndfileAzure Linux:3 |
before 1.2.2-4 | 1.2.2-4 |
libsndfileDebian:12 |
All versions, plus listed versions 1.2.0-11.2.0-1+deb12u11.2.2-11.2.2-1+hurd.11.2.2-1+hurd.2 Show 4 moreShow less1.2.2-1+hurd.31.2.2-21.2.2-31.2.2-4 |
None known |
libsndfileDebian:13 |
before 1.2.2-2+deb13u1, plus listed versions 1.2.2-2 |
1.2.2-2+deb13u1 |
libsndfileDebian:14 |
before 1.2.2-4, plus listed versions 1.2.2-21.2.2-3 |
1.2.2-4 |
libsndfileMageia:9 |
before 1.2.0-3.3.mga9 | 1.2.0-3.3.mga9 |
libsndfileopenEuler:24.03-LTS |
before 1.2.2-4.oe2403 | 1.2.2-4.oe2403 |
libsndfileopenEuler:24.03-LTS-SP1 |
before 1.2.2-4.oe2403sp1 | 1.2.2-4.oe2403sp1 |
libsndfileopenEuler:24.03-LTS-SP2 |
before 1.2.2-4.oe2403sp2 | 1.2.2-4.oe2403sp2 |
libsndfileopenEuler:24.03-LTS-SP3 |
before 1.2.2-4.oe2403sp3 | 1.2.2-4.oe2403sp3 |
libsndfileUbuntu: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 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libsndfileUbuntu: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 less1.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 |
libsndfileUbuntu: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 |
libsndfileUbuntu: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 |
libsndfileUbuntu: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 |
libsndfileUbuntu: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 |
libsndfileUbuntu:25.10 |
All versions, plus listed versions 1.2.2-2build11.2.2-3 |
None known |
libsndfileUbuntu:26.10 |
All versions, plus listed versions 1.2.2-4 |
None known |
libsndfileUbuntu:26.04:LTS |
All versions, plus listed versions 1.2.2-31.2.2-4 |
None known |
libsndfileopenSUSE:Tumbleweed |
before 1.2.2-4.1 | 1.2.2-4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-56226 is a medium vulnerability (CVSS 5.3) in Libsndfile Project Libsndfile, published January 14, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.37%, the 31st percentile. Fixed in libsndfile 1.2.2-4.
References
github.com/libsndfile/libsndfile/issues/1089
gist.github.com/Sisyphus-wang/f9e6e017b7d478bebee6e8187672abc8
nvd.nist.gov/vuln/detail/CVE-2025-56226
github.com/advisories/GHSA-84f2-pwrw-r53v
github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56226.json
security-tracker.debian.org/tracker/CVE-2025-56226
Show 15 moreShow less
advisories.mageia.org/MGASA-2026-0215.html
bugs.mageia.org/show_bug.cgi?id=35451
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-1603
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-1604
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-1605
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-1606
suse.com/support/update/announcement/2026/suse-su-202621826-1
bugzilla.suse.com/1248458
bugzilla.suse.com/1256702
bugzilla.suse.com/1263695
suse.com/security/cve/CVE-2025-52194
suse.com/security/cve/CVE-2025-56226
suse.com/security/cve/CVE-2026-37555
ubuntu.com/security/CVE-2025-56226
cve.org/CVERecord?id=CVE-2025-56226