HighFix available
sox — security advisory
A heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange libsox 14.4.2 and master commit 42b3557e. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
- Products
- sox
- Affected versions
- Not specified
- Fixed versions
- 14.4.2+git20190427-3.1
- CVEs
- CVE-2021-40426
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:40 UTC · Revision 1
Source evidence
A heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange libsox 14.4.2 and master commit 42b3557e. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
osv:DEBIAN-CVE-2021-40426
sox
Fixed versions: 14.4.2+git20190427-3.1
sox
Fixed versions: 14.4.2+git20190427-3.1
Complete source record
{
"id": "1d9dc14cdcc800697b4f2816ab6e9ac1cc2ed80038a118e0fc4011ff6f39f827",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-40426",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-40426",
"summary": "A heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange libsox 14.4.2 and master commit 42b3557e. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.",
"evidence": "osv:DEBIAN-CVE-2021-40426",
"products": [
{
"name": {
"value": "sox",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "14.4.2+git20190427-3.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "sox",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "14.4.2+git20190427-3.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2021-40426",
"aliases": [
"DEBIAN-CVE-2021-40426"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "14.4.2+git20190427-3.1"
}
]
}
],
"package": {
"name": "sox",
"purl": "pkg:deb/debian/sox?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40426.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "14.4.2+git20190427-3.1"
}
]
}
],
"package": {
"name": "sox",
"purl": "pkg:deb/debian/sox?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40426.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:33.005939049Z",
"provider": "osv",
"upstream": [
"CVE-2021-40426"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-40426"
]
},
"related_cves": [
{
"value": "CVE-2021-40426",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 421880,
"published_at": "2022-04-14T20:15:09.11+00:00"
}