Libsndfile Project Libsndfile vulnerabilities

38 known vulnerabilities affecting libsndfile_project/libsndfile.

Total CVEs
38
CISA KEV
0
Public exploits
1
Exploited in wild
0
Severity breakdown
CRITICAL5HIGH12MEDIUM20LOW1

Vulnerabilities

Page 1 of 2
CVE-2025-56226MEDIUMCVSS 5.3≥ 1.1.0, ≤ 1.2.22026-01-14
CVE-2025-56226 [MEDIUM] CWE-401 CVE-2025-56226: Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function withi Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init() function within the mpeg_l3_encode.c file.
nvdosv
CVE-2025-52194HIGHCVSS 7.5≤ 1.2.22025-08-21
CVE-2025-52194 [HIGH] CWE-121 CVE-2025-52194: A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions A 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.
nvd
CVE-2024-50612MEDIUMCVSS 5.5≤ 1.2.22024-10-27
CVE-2024-50612 [MEDIUM] CWE-125 CVE-2024-50612: libsndfile through 1.2.2 has an ogg_vorbis.c vorbis_analysis_wrote out-of-bounds read. libsndfile through 1.2.2 has an ogg_vorbis.c vorbis_analysis_wrote out-of-bounds read.
nvdosv
CVE-2024-50613MEDIUMCVSS 6.5≤ 1.2.22024-10-27
CVE-2024-50613 [MEDIUM] CWE-617 CVE-2024-50613: libsndfile through 1.2.2 has a reachable assertion, that may lead to application exit, in mpeg_l3_en libsndfile through 1.2.2 has a reachable assertion, that may lead to application exit, in mpeg_l3_encode.c mpeg_l3_encoder_close.
nvd
CVE-2022-33065HIGHCVSS 7.8≥ 0, < 1.0.31-2+deb11u1≥ 0, < 1.2.0-1+deb12u1+1 more2023-07-18
CVE-2022-33065 [HIGH] CVE-2022-33065: Multiple signed integers overflow in function au_read_header in src/au Multiple 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.
osv
CVE-2022-33064HIGHCVSS 7.8v1.1.02023-07-18
CVE-2022-33064 [HIGH] CWE-193 CVE-2022-33064: An off-by-one error in function wav_read_header in src/wav.c in Libsndfile 1.1.0, results in a write An 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.
nvd
CVE-2021-4156HIGHCVSS 7.1v1.1.10vlibsndfile 1.1.02022-03-23
CVE-2021-4156 [HIGH] CWE-125 CVE-2021-4156: An out-of-bounds read flaw was found in libsndfile's FLAC codec functionality. An attacker who is ab An 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
nvdosv
CVE-2021-3246HIGHCVSS 8.8v1.0.302021-07-20
CVE-2021-3246 [HIGH] CWE-787 CVE-2021-3246: A heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers t A heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers to execute arbitrary code via a crafted WAV file.
nvdosv
CVE-2019-3832MEDIUMCVSS 5.5v1.0.282019-03-21
CVE-2019-3832 [MEDIUM] CVE-2019-3832: It was discovered the fix for CVE-2018-19758 (libsndfile) was not complete and still allows a read b It 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.
nvdosv
CVE-2018-19758MEDIUMCVSS 6.5v1.0.282018-11-30
CVE-2018-19758 [MEDIUM] CWE-125 CVE-2018-19758: There is a heap-based buffer over-read at wav.c in wav_write_header in libsndfile 1.0.28 that will c There 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.
nvdosv
CVE-2018-19662HIGHCVSS 8.1v1.0.282018-11-29
CVE-2018-19662 [HIGH] CWE-125 CVE-2018-19662: An issue was discovered in libsndfile 1.0.28. There is a buffer over-read in the function i2alaw_arr An 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.
nvdosv
CVE-2018-19661MEDIUMCVSS 6.5v1.0.282018-11-29
CVE-2018-19661 [MEDIUM] CWE-125 CVE-2018-19661: An issue was discovered in libsndfile 1.0.28. There is a buffer over-read in the function i2ulaw_arr An 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.
nvdosv
CVE-2018-19432MEDIUMCVSS 6.5v1.0.282018-11-22
CVE-2018-19432 [MEDIUM] CWE-476 CVE-2018-19432: An issue was discovered in libsndfile 1.0.28. There is a NULL pointer dereference in the function sf An 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.
nvdosv
CVE-2018-13419MEDIUMCVSS 6.5v1.0.282018-07-07
CVE-2018-13419 [MEDIUM] CWE-772 CVE-2018-13419: An issue has been found in libsndfile 1.0.28. There is a memory leak in psf_allocate in common.c, as An 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 issue
nvd
CVE-2018-13139HIGHCVSS 8.8v1.0.282018-07-04
CVE-2018-13139 [HIGH] CWE-787 CVE-2018-13139: A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 allows remote attackers A 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.
nvdosv
CVE-2017-16942MEDIUMCVSS 6.5v1.0.252017-11-25
CVE-2017-16942 [MEDIUM] CWE-369 CVE-2017-16942: In libsndfile 1.0.25 (fixed in 1.0.26), a divide-by-zero error exists in the function wav_w64_read_f In 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.
nvdosv
CVE-2017-14245HIGHCVSS 8.1v1.0.282017-09-21
CVE-2017-14245 [HIGH] CWE-125 CVE-2017-14245: An out of bounds read in the function d2alaw_array() in alaw.c of libsndfile 1.0.28 may lead to a re An 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.
nvdosv
CVE-2017-14246HIGHCVSS 8.1v1.0.282017-09-21
CVE-2017-14246 [HIGH] CWE-125 CVE-2017-14246: An out of bounds read in the function d2ulaw_array() in ulaw.c of libsndfile 1.0.28 may lead to a re An 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.
nvdosv
CVE-2017-14634MEDIUMCVSS 6.5v1.0.282017-09-21
CVE-2017-14634 [MEDIUM] CWE-369 CVE-2017-14634: In libsndfile 1.0.28, a divide-by-zero error exists in the function double64_init() in double64.c, w In 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.
nvdosv
CVE-2017-12562CRITICALCVSS 9.8v1.0.282017-08-05
CVE-2017-12562 [CRITICAL] CWE-119 CVE-2017-12562: Heap-based Buffer Overflow in the psf_binheader_writef function in common.c in libsndfile through 1. Heap-based Buffer Overflow in the psf_binheader_writef function in common.c in libsndfile through 1.0.28 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact.
nvdosv