squashfs-tools: integer overflow in queue_init() may lead to abitrary code execution
Published Jul 19, 2012
6.8
MEDIUMCVSS 2.0
EPSS 3.90%
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.
Affected products
No data.
- ≤ 4.2
No data.
Red Hat Enterprise Linux 5
squashfs-tools
Not affected
Red Hat Enterprise Linux 6
squashfs-tools
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | squashfs-tools | Not affected | n/a |
| Red Hat Enterprise Linux 6 | squashfs-tools | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of squashfs-tools as shipped with Red Hat Enterprise Linux 5 as they did not include support for parallel processing and do not make use of queues.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.90% (0.03898) | 89.93th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.93% (0.03930) | 88.98th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.34% (0.02345) | 83.44th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.54% (0.04544) | 81.59th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.34% (0.02345) | 83.77th | v4 (v2025.03.14) |
| Mar 9, 2025 | 9.06% (0.09062) | 94.79th | v3 (v2023.03.01) |
| Dec 17, 2024 | 7.53% (0.07527) | 94.09th | v3 (v2023.03.01) |
| Feb 17, 2024 | 3.79% (0.03789) | 91.55th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.98% (0.02982) | 89.33th | v3 (v2023.03.01) |
| Mar 6, 2023 | 7.52% (0.07525) | 92.75th | v2 (v2022.01.01) |
| Apr 1, 2022 | 7.52% (0.07525) | 92.03th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.52% (0.07525) | 80.97th | v2 (v2022.01.01) |
References (11)
- http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel x_refsource_MISCThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:128 vendor-advisoryx_refsource_MANDRIVANot Applicable
- http://www.openwall.com/lists/oss-security/2012/07/19/6 mailing-listx_refsource_MLISTMailing List
- http://www.osvdb.org/83899 vdb-entryx_refsource_OSVDBBroken Link
- http://www.securityfocus.com/bid/54610 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2012-4025 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=842460 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2012-4025
- https://security.gentoo.org/glsa/201612-40 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2012-4025
Change history (0)
No recorded changes yet.