
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-56226 is a memory leak vulnerability in libsndfile versions 1.1.0 through 1.2.2, located in the mpeg_l3_encoder_init() function within src/mpeg_l3_encode.c. The flaw was reported by researcher Sisyphus-wang and published on January 14, 2026. It affects the sndfile-convert utility's MP3 encoding path and carries a CVSS v3.1 base score of 5.3 (Medium) (Feedly, GitHub Gist).
The root cause (CWE-401: Missing Release of Memory after Effective Lifetime) is an incomplete initialization sequence combined with early error returns in mpeg_l3_encoder_init(). Specifically, lame_init() successfully allocates encoder resources, but if a subsequent call to lame_set_out_samplerate() fails (e.g., due to an unsupported sample rate), the function returns SFE_MPEG_BAD_SAMPLERATE before the cleanup callback psf->codec_close is set — leaving the allocated memory unreleased. An attacker can trigger this path by supplying a crafted audio file with an unsupported sample rate to any application using the affected libsndfile version for MP3 encoding. A public PoC and detailed root cause analysis are available (GitHub Gist, GitHub Issue).
Successful exploitation causes memory exhaustion in the affected process, leading to denial of service conditions such as system instability or service unavailability. The vulnerability has no confidentiality or integrity impact; only availability is affected (Low per CVSS). Because the flaw is network-reachable and requires no authentication or user interaction, any service that processes attacker-supplied audio files using libsndfile 1.1.0–1.2.2 is at risk of gradual memory exhaustion (Feedly).
Public proof-of-concept code and a detailed write-up are available via GitHub, demonstrating the leak using AddressSanitizer. There is no evidence of in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.039% (very low probability of exploitation in the near term), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (GitHub Gist, Feedly).
sndfile-convert poc.wav output.mp3) or through any network-accessible interface that invokes the MP3 encoding path.lame_init() call allocates encoder resources; lame_set_out_samplerate() then fails, causing an early return before psf->codec_close is set, leaving ~10 KB of memory unreleased per invocation.sndfile-convert) without corresponding release; RSS/VSZ growth visible via top, ps, or system monitoring tools.Error : MPEG-1/2/2.5 only supports sample rates of 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, and 48000 appearing repeatedly in application logs, potentially indicating repeated submission of malformed files.The vulnerability has been fixed in the official libsndfile repository (referenced in PR/issue #1090). Organizations should upgrade libsndfile to a version newer than 1.2.2 as soon as a patched release is available. Microsoft released security updates addressing this vulnerability on January 21, 2026, for Azure Linux 3 packages. As a temporary workaround, restrict network access to services that process audio files using affected libsndfile versions, and monitor for unusual memory consumption patterns (Microsoft MSRC, Feedly).
Red Hat has acknowledged the vulnerability and published a CVE entry. The Yocto Project security mailing list discussed the issue across multiple messages, and openSUSE issued a security announcement addressing libsndfile. Debian also referenced the vulnerability in a March 2026 news item. Community reaction has been low-key given the Medium severity and limited exploitation potential (Red Hat, openSUSE).
Fix availability across major Linux distributions and their releases.
bookworm
libsndfile
sid
libsndfile: 1.2.2-4
trixie
libsndfile: 1.2.2-2+deb13u1
bionic (esm-infra)
libsndfile
devel
libsndfile
focal (esm-infra)
libsndfile
jammy
libsndfile
noble
libsndfile
resolute
libsndfile
trusty (esm-infra-legacy)
libsndfile
xenial (esm-infra-legacy)
libsndfile
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."