Skip to content
Fencer Intel
medium 6.8

CVE-2012-4025 json

Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute ar…

published 2012-07-19 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-3969

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.9%
EPSS 3.9% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

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.

Patch / fix

  • squashfs-tools Debian 14, Debian 13, Debian 12 1:4.2+20121212-1

debian advisories DEBIAN-CVE-2012-4025

  • squashfs openSUSE Tumbleweed 4.3-9.3

opensuse advisories openSUSE-SU-2024:10201-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-4025 updated cvss 5.1

squashfs-tools: integer overflow in queue_init() may lead to abitrary code execution

  • Red Hat Enterprise Linux 6 squashfs-tools
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 5 squashfs-tools
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.90% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.