squashfs-tools — security advisory
Stack-based buffer overflow in the get_component function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted list file (aka a crafted file for the -ef option). NOTE: probably in most cases, the list file is a trusted file constructed by the program's user; however, there are some realistic situations in which a list file would be obtained from an untrusted remote source.
- Products
- squashfs-tools
- Affected versions
- Not specified
- Fixed versions
- 1:4.2+20121212-1
- CVEs
- CVE-2012-4024
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:29 UTC · Revision 1
Source evidence
Stack-based buffer overflow in the get_component function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted list file (aka a crafted file for the -ef option). NOTE: probably in most cases, the list file is a trusted file constructed by the program's user; however, there are some realistic situations in which a list file would be obtained from an untrusted remote source.
osv:DEBIAN-CVE-2012-4024
squashfs-tools
Fixed versions: 1:4.2+20121212-1
squashfs-tools
Fixed versions: 1:4.2+20121212-1
squashfs-tools
Fixed versions: 1:4.2+20121212-1
Complete source record
{
"id": "edb05441f5810faa3bd5d4f08c9cad9722002901fdc0ec9a6f9a1b9f48834f5d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2012-4024",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2012-4024",
"summary": "Stack-based buffer overflow in the get_component function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted list file (aka a crafted file for the -ef option). NOTE: probably in most cases, the list file is a trusted file constructed by the program's user; however, there are some realistic situations in which a list file would be obtained from an untrusted remote source.",
"evidence": "osv:DEBIAN-CVE-2012-4024",
"products": [
{
"name": {
"value": "squashfs-tools",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:4.2+20121212-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "squashfs-tools",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:4.2+20121212-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "squashfs-tools",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:4.2+20121212-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2012-4024",
"aliases": [
"DEBIAN-CVE-2012-4024"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.2+20121212-1"
}
]
}
],
"package": {
"name": "squashfs-tools",
"purl": "pkg:deb/debian/squashfs-tools?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-4024.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.2+20121212-1"
}
]
}
],
"package": {
"name": "squashfs-tools",
"purl": "pkg:deb/debian/squashfs-tools?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-4024.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.2+20121212-1"
}
]
}
],
"package": {
"name": "squashfs-tools",
"purl": "pkg:deb/debian/squashfs-tools?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-4024.json"
},
"ecosystem_specific": {
"urgency": "low"
}
}
],
"modified": "2026-10-23T17:47:45.399018246Z",
"provider": "osv",
"upstream": [
"CVE-2012-4024"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2012-4024"
]
},
"related_cves": [
{
"value": "CVE-2012-4024",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 418743,
"published_at": "2012-07-19T19:55:02.063+00:00"
}