CVE-2012-4025: Squashfs - Integer Overflow
- Cve: CVE-2012-4025
- Name: Squashfs - Integer Overflow
- Description: 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.
- Impact: Remote attackers can execute arbitrary code or cause a denial of service through heap buffer overflow.
- Remediation: Update to the latest version of Squashfs that addresses this vulnerability or apply available patches.
- Vulnerability type: integer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- 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.03854
- Epss percentile: 0.90414
- Assignee: [email protected]
- Published at: 2012-07-19T19:55:02Z
- Age in days: 5241
- Modified at: 2026-06-16T23:44:17Z
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-4025
- 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-190 | Integer Overflow or Wraparound |
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 |
| 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