Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2…
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-190 and the CVSS impact.
Summary
Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted block_log field in the superblock of a .sqsh file, leading to a heap-based buffer overflow.
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-4025
- 2026-10-03 Alias added: GHSA-978f-5qgh-63fx
- 2026-10-11 EPSS moved to the 90th–95th percentile
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-03444 Stack-based buffer overflow in the get_component function in unsquashfs.c in unsquashfs… 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-4025 · CVE Program
- CVE-2012-4025 · NVD
- FIRST EPSS
- GHSA-978f-5qgh-63fx · GitHub Advisory Database · CC BY 4.0
- CVE-2012-4025 · 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