CVE-2012-4025
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.9% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 3.9% · EPSS, next 30 days
- Weakness
- CWE-190 · Integer overflow
- Record status
- Modified
Affected
- Squashfs Project Squashfs ≤ 4.2
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-4025.md and follow it. Check whether this project is affected by CVE-2012-4025. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:128
- http://www.openwall.com/lists/oss-security/2012/07/19/6
- http://www.osvdb.org/83899
- http://www.securityfocus.com/bid/54610
- https://security.gentoo.org/glsa/201612-40
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001
- http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:128
- http://www.openwall.com/lists/oss-security/2012/07/19/6
- http://www.osvdb.org/83899
- http://www.securityfocus.com/bid/54610
- https://security.gentoo.org/glsa/201612-40
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001