Vulnerability Description
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 information that could be used in further exploitation of other flaws.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libsndfile Project | Libsndfile | 1.1.10 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2027690ExploitIssue TrackingThird Party Advisory
- https://github.com/libsndfile/libsndfile/issues/731ExploitIssue TrackingThird Party Advisory
- https://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/06/msg00020.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00036.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202309-11
- https://bugzilla.redhat.com/show_bug.cgi?id=2027690ExploitIssue TrackingThird Party Advisory
- https://github.com/libsndfile/libsndfile/issues/731ExploitIssue TrackingThird Party Advisory
- https://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/06/msg00020.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00036.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/12/msg00013.html
- https://security.gentoo.org/glsa/202309-11
FAQ
What is CVE-2021-4156?
CVE-2021-4156 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 l...
How severe is CVE-2021-4156?
CVE-2021-4156 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-4156?
Check the references section above for vendor advisories and patch information. Affected products include: Libsndfile Project Libsndfile, Debian Debian Linux.