Stack-based buffer overflow in the get_component function in unsquashfs.c in unsquashfs…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Will not fix Red Hat: no fix planned
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:squashfs_project:squashfs:*:*:*:*:*:*:*:* | up to 4.2 | Vulnerable | Squashfs Project |
- cpe:2.3:a:squashfs_project:squashfs:*:*:*:*:*:*:*:* Versions up to 4.2 Vulnerable ·Squashfs Project
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
Not affected: 1 product
- Red Hat Enterprise Linux 5
Timeline
- 2026-10-02 Threatist record created from CVE-2012-4024
- 2026-10-03 Alias added: GHSA-r5cx-4556-w7x7
References
Advisory 4
More Squashfs Project Squashfs vulnerabilities
- TI-2015-03888 (1) unsquash-1.c, (2) unsquash-2.c, (3) unsquash-3.c, and (4) unsquash-4.c in Squashfs… CVSS 3.1HIGH 7.5
- TI-2012-03445 Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2… CVSS 2.0MEDIUM 6.8
- TI-2015-03887 Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and… CVSS 3.1MEDIUM 5.5
Sources
- CVE-2012-4024 · CVE Program
- CVE-2012-4024 · NVD
- FIRST EPSS
- GHSA-r5cx-4556-w7x7 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-4024 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences