CVE-2012-4024: Squashfs - Buffer Overflow
- Cve: CVE-2012-4024
- Name: Squashfs - Buffer Overflow
- Description: 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.
- Impact: Remote attackers can execute arbitrary code on the affected system, potentially leading to full system compromise.
- Remediation: Update to the latest version of Squashfs that addresses this vulnerability or apply security patches provided by the vendor.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.8
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
- Epss score: 0.04006
- Epss percentile: 0.90806
- Assignee: [email protected]
- Published at: 2012-07-19T19:55:02Z
- Age in days: 5241
- Modified at: 2026-06-16T23:44:17Z
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-4024
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel | Third Party Advisory |
| http://www.securityfocus.com/bid/54610 | Third Party Advisory, VDB Entry |
| https://security.gentoo.org/glsa/201612-40 | Third Party Advisory |
| https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001 | Third Party Advisory |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/77106 | VDB Entry |
| http://www.openwall.com/lists/oss-security/2012/07/19/6 | Mailing List |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| squashfs_project:squashfs | <= 4.2 | no | nvd | /v1/products/squashfs_project/squashfs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| plougher/squashfs-tools | fix | yes | /v1/repositories/plougher/squashfs-tools |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts