libsndfile — security advisory
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.
- Products
- libsndfile
- Affected versions
- Not specified
- Fixed versions
- 1.1.0-1
- CVEs
- CVE-2021-4156
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 01:05 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2021-4156
libsndfile
Fixed versions: 1.1.0-1
libsndfile
Fixed versions: 1.1.0-1
libsndfile
Fixed versions: 1.1.0-1
Complete source record
{
"id": "13247895546c340c8c08fc20a1931279e5c22ed7d76288f38943d55eba993b3a",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-4156",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-4156",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2021-4156",
"products": [
{
"name": {
"value": "libsndfile",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.1.0-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libsndfile",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.1.0-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libsndfile",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.1.0-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2021-4156",
"aliases": [
"DEBIAN-CVE-2021-4156"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0-1"
}
]
}
],
"package": {
"name": "libsndfile",
"purl": "pkg:deb/debian/libsndfile?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4156.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0-1"
}
]
}
],
"package": {
"name": "libsndfile",
"purl": "pkg:deb/debian/libsndfile?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4156.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0-1"
}
]
}
],
"package": {
"name": "libsndfile",
"purl": "pkg:deb/debian/libsndfile?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4156.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:04:15.478223136Z",
"provider": "osv",
"upstream": [
"CVE-2021-4156"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-4156"
]
},
"related_cves": [
{
"value": "CVE-2021-4156",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 423034,
"published_at": "2022-03-23T20:15:10.097+00:00"
}