CVE-2025-56226

libsndfile: memory leak when encoding MP3 files due to an incomplete initialization

Published Jan 14, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:libsndfile_project:libsndfile:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Title libsndfile: memory leak when encoding MP3 files due to an incomplete initialization
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Libsndfile Project
Libsndfile Project libsndfile
Vendors & Products Libsndfile Project
Libsndfile Project libsndfile
Type Values Removed Values Added
Weaknesses CWE-401
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jan 14, 2026, 2:57 PM
Reserved
Aug 16, 2025, 12:00 AM
Status
Analyzed
Published
Jan 14, 2026, 3:15 PM
Modified
Jun 17, 2026, 9:42 AM
Severity
Moderate
Public date
Jan 14, 2026, 12:00 AM