{"id":"CVE-2025-56226","aliases":["AZL-74855","DEBIAN-CVE-2025-56226","EUVD-2026-2514","GHSA-84f2-pwrw-r53v","MGASA-2026-0215","OESA-2026-1603","OESA-2026-1604","OESA-2026-1605","OESA-2026-1606","SUSE-SU-2026:21826-1","UBUNTU-CVE-2025-56226","openSUSE-SU-2026:10061-1","openSUSE-SU-2026:20787-1"],"status":"published","title":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function...","description":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.00374,"percentile":0.31791,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-401"],"published":"2026-01-14T00:00:00Z","modified":"2026-11-11T09:39:13Z","fixes":[{"ecosystem":"Azure Linux:3","package":"libsndfile","fixed_in":["1.2.2-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libsndfile","fixed_in":["1.2.2-2+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libsndfile","fixed_in":["1.2.2-4"],"sources":["osv"]},{"ecosystem":"openEuler:24.03-LTS","package":"libsndfile","fixed_in":["1.2.2-4.oe2403"],"sources":["osv"]},{"ecosystem":"openEuler:24.03-LTS-SP1","package":"libsndfile","fixed_in":["1.2.2-4.oe2403sp1"],"sources":["osv"]},{"ecosystem":"openEuler:24.03-LTS-SP2","package":"libsndfile","fixed_in":["1.2.2-4.oe2403sp2"],"sources":["osv"]},{"ecosystem":"openEuler:24.03-LTS-SP3","package":"libsndfile","fixed_in":["1.2.2-4.oe2403sp3"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"libsndfile","fixed_in":["1.2.2-4.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-1","1.2.0-1+deb12u1","1.2.2-1","1.2.2-1+hurd.1","1.2.2-1+hurd.2","1.2.2-1+hurd.3","1.2.2-2","1.2.2-3","1.2.2-4"]},{"source":"osv","ecosystem":"Debian:13","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-2+deb13u1"}]}],"versions":["1.2.2-2"]},{"source":"osv","ecosystem":"Debian:14","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-4"}]}],"versions":["1.2.2-2","1.2.2-3"]},{"source":"osv","ecosystem":"Mageia:9","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-3.3.mga9"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:24.03-LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-4.oe2403"}]}]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP1","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-4.oe2403sp1"}]}]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-4.oe2403sp2"}]}]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP3","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-4.oe2403sp3"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.25-7ubuntu1","1.0.25-7ubuntu2","1.0.25-7ubuntu2.1","1.0.25-7ubuntu2.2","1.0.25-7ubuntu2.2+esm1","1.0.25-7ubuntu2.2+esm2","1.0.25-7ubuntu2.2+esm3","1.0.25-7ubuntu2.2+esm4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.25-9.1","1.0.25-10","1.0.25-10ubuntu0.16.04.1","1.0.25-10ubuntu0.16.04.2","1.0.25-10ubuntu0.16.04.3","1.0.25-10ubuntu0.16.04.3+esm1","1.0.25-10ubuntu0.16.04.3+esm2","1.0.25-10ubuntu0.16.04.3+esm3","1.0.25-10ubuntu0.16.04.3+esm4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.28-4","1.0.28-4ubuntu0.18.04.1","1.0.28-4ubuntu0.18.04.2","1.0.28-4ubuntu0.18.04.2+esm1","1.0.28-4ubuntu0.18.04.2+esm2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.28-6","1.0.28-7","1.0.28-7ubuntu0.1","1.0.28-7ubuntu0.2","1.0.28-7ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.31-2","1.0.31-2build1","1.0.31-2ubuntu0.1","1.0.31-2ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-1","1.2.2-1ubuntu2","1.2.2-1ubuntu3","1.2.2-1ubuntu4","1.2.2-1ubuntu5","1.2.2-1ubuntu5.24.04.1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-2build1","1.2.2-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-4"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-4.1"}]}]}],"products":[{"vendor":"libsndfile_project","product":"libsndfile"}],"references":[{"url":"https://github.com/libsndfile/libsndfile/issues/1089","tags":["Exploit","Issue Tracking","report"]},{"url":"https://gist.github.com/Sisyphus-wang/f9e6e017b7d478bebee6e8187672abc8","tags":["Exploit","Third Party Advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56226","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-84f2-pwrw-r53v"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56226.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-56226","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0215.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35451","tags":["report"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-1603","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-1604","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-1605","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-1606","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621826-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1248458","tags":["report"]},{"url":"https://bugzilla.suse.com/1256702","tags":["report"]},{"url":"https://bugzilla.suse.com/1263695","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2025-52194","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-56226","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-37555","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2025-56226","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-56226","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-56226","description":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.","status":"published","published":"2026-01-14T00:00:00Z","modified":"2026-01-14T14:57:00.271Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"adp"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:32:26.320248Z"}],"euvd":[{"id":"EUVD-2026-2514","description":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.","status":"published","published":"2026-01-14T00:00:00Z","modified":"2026-01-14T14:57:00Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T19:48:51.744142Z"}],"ghsa":[{"id":"GHSA-84f2-pwrw-r53v","title":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function...","description":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.","status":"published","published":"2026-01-14T15:32:59Z","modified":"2026-01-14T15:33:00Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T15:05:36.376178Z"}],"nvd":[{"id":"CVE-2025-56226","description":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.","status":"published","published":"2026-01-14T15:15:56.873Z","modified":"2026-06-17T09:42:27.263Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:11:57.915063Z"}],"osv":[{"id":"CVE-2025-56226","description":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.","status":"published","published":"2026-01-14T00:00:00Z","modified":"2026-10-28T02:31:03.561200135Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:51.190588Z"},{"id":"DEBIAN-CVE-2025-56226","description":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.","status":"published","published":"2026-01-14T15:15:56.873Z","modified":"2026-09-01T20:04:29.192236103Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:45:47.697959Z"},{"id":"OESA-2026-1603","title":"libsndfile security update","description":"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.\r\n\r\nSecurity Fix(es):\n\nLibsndfile \u0026lt;=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)","status":"published","published":"2026-03-15T11:10:37Z","modified":"2026-08-18T01:19:37.971571752Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:52:45.721983Z"},{"id":"OESA-2026-1604","title":"libsndfile security update","description":"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.\r\n\r\nSecurity Fix(es):\n\nLibsndfile \u0026lt;=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)","status":"published","published":"2026-03-15T11:10:37Z","modified":"2026-08-18T01:19:37.889561244Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:52:45.721983Z"},{"id":"OESA-2026-1605","title":"libsndfile security update","description":"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.\r\n\r\nSecurity Fix(es):\n\nLibsndfile \u0026lt;=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)","status":"published","published":"2026-03-15T11:10:37Z","modified":"2026-08-18T01:19:38.024502918Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:52:45.721983Z"},{"id":"OESA-2026-1606","title":"libsndfile security update","description":"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.\r\n\r\nSecurity Fix(es):\n\nLibsndfile \u0026lt;=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)","status":"published","published":"2026-03-15T11:10:37Z","modified":"2026-08-18T01:19:37.75918449Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:52:45.721983Z"},{"id":"UBUNTU-CVE-2025-56226","description":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.","status":"published","published":"2026-01-14T15:15:00Z","modified":"2026-11-11T09:39:13.446411415Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-11T10:01:08.15793Z"},{"id":"AZL-74855","title":"CVE-2025-56226 affecting package libsndfile for versions less than 1.2.2-4","description":"Libsndfile \u003c=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.","status":"published","published":"2026-01-14T15:15:56Z","modified":"2026-11-05T05:40:51Z","updated_at":"2026-11-05T16:41:24.456773Z"},{"id":"MGASA-2026-0215","title":"Updated libsndfile packages fix security vulnerabilities","description":"CVE-2025-52194 A buffer overflow vulnerability exists in libsndfile\nversion 1.2.2 and potentially earlier versions when processing malformed\nIRCAM audio files. The vulnerability occurs in the ircam_read_header\nfunction at src/ircam.c:164 during sample rate processing, leading to\nmemory corruption and potential code execution.\nCVE-2025-56226 Libsndfile \u003c=1.2.2 contains a memory leak vulnerability\nin the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.\nCVE-2026-37555 An issue was discovered in libsndfile 1.2.2 IMA ADPCM\ncodec. The AIFF code path (line 241) was fixed with (sf_count_t) cast,\nbut the WAV code path (line 235) and close path (line 167) were not.\nWhen samplesperblock (int) * blocks (int) exceeds INT_MAX, the 32-bit\nmultiplication overflows before being assigned to sf.frames\n(sf_count_t/int64). With samplesperblock=50000 and blocks=50000, the\nproduct 2500000000 overflows to -1794967296. This causes incorrect frame\ncount leading to heap buffer overflow or denial of service. Both values\ncome from the WAV file header and are attacker-controlled. This issue\nwas discovered after an incomplete fix for CVE-2022-33065.\n","status":"published","published":"2026-06-16T04:58:51Z","modified":"2026-06-16T05:00:06.100572689Z","updated_at":"2026-11-02T15:49:43.178336Z"},{"id":"openSUSE-SU-2026:10061-1","title":"libsndfile-devel-1.2.2-4.1 on GA media","description":"These are all security issues fixed in the libsndfile-devel-1.2.2-4.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-01-17T00:00:00Z","modified":"2026-03-23T04:54:24.337868Z","updated_at":"2026-11-02T16:58:38.101535Z"},{"id":"openSUSE-SU-2026:20787-1","title":"Security update for libsndfile","description":"This update for libsndfile fixes the following issues\n\n- CVE-2025-52194: buffer overflow in the ircam_read_header function of file src/ircam.c when processing malformed IRCAM\n  audio files (bsc#1248458).\n- CVE-2025-56226: memory leak in the `mpeg_l3_encoder_init()` function of `mpeg_l3_encode.c` (bsc#1256702).\n- CVE-2026-37555: IMA-ADPCM integer overflow (bsc#1263695).\n\nChanges for libsndfile:\n","status":"published","published":"2026-05-22T08:43:26Z","modified":"2026-05-26T18:24:14.543983665Z","updated_at":"2026-11-02T16:58:41.463445Z"},{"id":"SUSE-SU-2026:21826-1","title":"Security update for libsndfile","description":"This update for libsndfile fixes the following issues\n\n- CVE-2025-52194: buffer overflow in the ircam_read_header function of file src/ircam.c when processing malformed IRCAM\n  audio files (bsc#1248458).\n- CVE-2025-56226: memory leak in the `mpeg_l3_encoder_init()` function of `mpeg_l3_encode.c` (bsc#1256702).\n- CVE-2026-37555: IMA-ADPCM integer overflow (bsc#1263695).\n\nChanges for libsndfile:\n","status":"published","published":"2026-05-22T08:43:20Z","modified":"2026-05-28T18:24:16.271001196Z","updated_at":"2026-11-02T15:54:02.654057Z"}]}}
