CVE-2012-4024

medium
Published 2012-07-19 · Modified 2026-04-29
CVSS v3
CVSS v2
6.8
VIR risk
6.8

Description

Stack-based buffer overflow in the get_component function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted list file (aka a crafted file for the -ef option). NOTE: probably in most cases, the list file is a trusted file constructed by the program's user; however, there are some realistic situations in which a list file would be obtained from an untrusted remote source.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2012-4024

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed1:4.2+20121212-1
debian debianbullseyefixed1:4.2+20121212-1
debian debianforkyfixed1:4.2+20121212-1
debian debiansidfixed1:4.2+20121212-1
debian debiantrixiefixed1:4.2+20121212-1

Application impact

VendorProductVersionsFixed
squashfs_projectsquashfs{"endIncluding":"4.2"}

References

CWEs

CWE-787

Verify integrity in audit chain (admin only). AS-IS.