CVE-2012-4024

CVE-2012-4024 is a medium-severity vulnerability in Squashfs Project Squashfs with a CVSS 2.0 base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.

Key facts

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.

Frequently asked questions

What is CVE-2012-4024?
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.
How severe is CVE-2012-4024?
CVE-2012-4024 has a CVSS 2.0 base score of 6.8, rated medium severity.
Is CVE-2012-4024 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (89th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-4024?
CVE-2012-4024 affects Squashfs Project Squashfs. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2012-4024?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-4024 published?
CVE-2012-4024 was published on 2012-07-19 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Squashfs Project Squashfs

All CVEs affecting Squashfs Project Squashfs →

Other CWE-787 (Out-of-bounds Write) vulnerabilities

Browse all CWE-787 (Out-of-bounds Write) vulnerabilities →