Libsndfile Project Libsndfile vulnerabilities

32 vulnerabilities

Known vulnerabilities in Libsndfile Project Libsndfile, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

PrioritiseCVE-2026-37555libsndfile_project · libsndfile +8 morelibsndfile_project libsndfileAn 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.CVSS7.5HighEPSS0.52%RoutineCVE-2025-56226libsndfile_project · libsndfile +3 morelibsndfile_project libsndfileLibsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.CVSS5.3MediumEPSS0.37%PrioritiseCVE-2025-52194libsndfile_project · libsndfile +2 morelibsndfile_project libsndfileA 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.CVSS7.5HighEPSS0.79%RoutineCVE-2024-50613libsndfile_project · libsndfile +2 morelibsndfile_project libsndfilelibsndfile through 1.2.2 has a reachable assertion, that may lead to application exit, in mpeg_l3_encode.c mpeg_l3_encoder_close.CVSS6.5MediumEPSS0.54%RoutineCVE-2024-50612libsndfile_project · libsndfile +11 morelibsndfile_project libsndfilelibsndfile through 1.2.2 has an ogg_vorbis.c vorbis_analysis_wrote out-of-bounds read.CVSS5.5MediumEPSS0.31%PrioritiseCVE-2022-33065libsndfile_project · libsndfile +35 morelibsndfile_project libsndfileMultiple signed integers overflow in function au_read_header in src/au.c and in functions mat4_open and mat4_read_header in src/mat4.c in Libsndfile, allows an attacker to cause Denial of Service or other unspecified impacts.CVSS7.8HighEPSS0.36%PrioritiseCVE-2022-33064libsndfile_project · libsndfile +2 morelibsndfile_project libsndfileAn off-by-one error in function wav_read_header in src/wav.c in Libsndfile 1.1.0, results in a write out of bound, which allows an attacker to execute arbitrary code, Denial of Service or other unspecified impacts.CVSS7.8HighEPSS0.34%PrioritiseCVE-2021-4156debian · debian_linux +49 moredebian debian_linuxAn out-of-bounds read flaw was found in libsndfile's FLAC codec functionality. An attacker who is able to submit a specially crafted file (via tricking a user to open or otherwise) to an application linked with libsndfile and using the FLAC codec, could trigger an out-of-bounds read that would most likely cause a crash but could potentially leak memory information that could be used in further exploitation of other flaws.CVSS7.1HighEPSS1.75%PrioritiseCVE-2021-3246debian · debian_linux +13 moredebian debian_linuxA heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers to execute arbitrary code via a crafted WAV file.CVSS8.8HighEPSS3.12%RoutineCVE-2019-3832[unknown] · libsndfile +7 more[unknown] libsndfileIt was discovered the fix for CVE-2018-19758 (libsndfile) was not complete and still allows a read beyond the limits of a buffer in wav_write_header() function in wav.c. A local attacker may use this flaw to make the application crash.CVSS5.5MediumEPSS0.51%RoutineCVE-2018-19758debian · debian_linux +5 moredebian debian_linuxThere is a heap-based buffer over-read at wav.c in wav_write_header in libsndfile 1.0.28 that will cause a denial of service.CVSS6.5MediumEPSS1.69%PrioritiseCVE-2018-19662debian · debian_linux +8 moredebian debian_linuxAn issue was discovered in libsndfile 1.0.28. There is a buffer over-read in the function i2alaw_array in alaw.c that will lead to a denial of service.CVSS8.1HighEPSS2.31%RoutineCVE-2018-19661debian · debian_linux +4 moredebian debian_linuxAn issue was discovered in libsndfile 1.0.28. There is a buffer over-read in the function i2ulaw_array in ulaw.c that will lead to a denial of service.CVSS6.5MediumEPSS2.05%RoutineCVE-2018-19432debian · debian_linux +3 moredebian debian_linuxAn issue was discovered in libsndfile 1.0.28. There is a NULL pointer dereference in the function sf_write_int in sndfile.c, which will lead to a denial of service.CVSS6.5MediumEPSS2.96%RoutineCVE-2018-13419libsndfile_project · libsndfile +1 morelibsndfile_project libsndfileAn issue has been found in libsndfile 1.0.28. There is a memory leak in psf_allocate in common.c, as demonstrated by sndfile-convert. NOTE: The maintainer and third parties were unable to reproduce and closed the issueCVSS6.5MediumEPSS1.25%RoutineCVE-2018-13139debian · debian_linux +8 moredebian debian_linuxA stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted audio file. The vulnerability can be triggered by the executable sndfile-deinterleave.CVSS8.8HighEPSS3.38%RoutineCVE-2017-16942libsndfile_project · libsndfile +2 morelibsndfile_project libsndfileIn libsndfile 1.0.25 (fixed in 1.0.26), a divide-by-zero error exists in the function wav_w64_read_fmt_chunk() in wav_w64.c, which may lead to DoS when playing a crafted audio file.CVSS6.5MediumEPSS1.23%RoutineCVE-2017-14246debian · debian_linux +3 moredebian debian_linuxAn out of bounds read in the function d2ulaw_array() in ulaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values.CVSS8.1HighEPSS2.23%RoutineCVE-2017-14245debian · debian_linux +3 moredebian debian_linuxAn out of bounds read in the function d2alaw_array() in alaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values.CVSS8.1HighEPSS2.04%RoutineCVE-2017-14634debian · debian_linux +3 moredebian debian_linuxIn libsndfile 1.0.28, a divide-by-zero error exists in the function double64_init() in double64.c, which may lead to DoS when playing a crafted audio file.CVSS6.5MediumEPSS2.08%