CVE-2012-4024Squashfs Project Squashfs
Medium 6.8 No auth needed
Follow: this CVE · Squashfs Project · Squashfs Project Squashfs We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 2.0
- 6.8
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jul 19, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Squashfs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| squashfs_project | squashfs | ≤ 4.2 |
Official sources
References
Links published by the sources. Open them with care.
- sourceforge.net Third Party Advisory
- www.mandriva.com Not Applicable
- www.openwall.com Mailing List
- www.osvdb.org Broken Link
- www.securityfocus.com Third Party Advisory VDB Entry
- exchange.xforce.ibmcloud.com VDB Entry
- security.gentoo.org Third Party Advisory
- wiki.mageia.org Third Party Advisory