CVE-2025-56226 Details
Description
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
A memory leak vulnerability has been identified in libsndfile versions 1.1.0 prior to 1.2.2. The issue arises in the MP3 encoding function 'mpeg_l3_encoder_init' within the 'mpeg_l3_encode.c' file. When the encoder initialization encounters an error, it fails to release allocated resources, leading to a memory leak.
This vulnerability has been fixed in the official libsndfile repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/Sisyphus-wang/f9e6e017b7d478bebee6e8187672abc8 | [email protected] | ExploitThird Party Advisory |
| https://github.com/libsndfile/libsndfile/issues/1089 | [email protected] | ExploitIssue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| libsndfile project libsndfile | >= 1.1.0, <= 1.2.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 21, 2026 | Initial Analysis | [email protected] |
| Jan 14, 2026 | New CVE Received | [email protected] |
| Jan 14, 2026 | CVE Modified | CISA-ADP |