Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2012-4024: Stack-based buffer overflow in the get_component function in unsquashfs.c in unsquashfs in Squashfs 4.2 and ea

46
This month
MEDIUM 6.8UPGRADE

CVE-2012-4024 is a medium-severity flaw (CVSS 6.8) affecting squashfs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • EPSS top 9%: very likely to be exploited

A fixed release or distro patch exists.

Risk facts

CVSS score6.8 (Medium)
EPSS exploit chance4.1% (top 9%)
CISA exploited listNo
WeaknessCWE-787
Published2012-07-19
Last modified2026-06-16
Publisher (CNA): MITRE · Vendor: squashfs project

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

squashfs project squashfs UPGRADE
Affected: <= 4.2
Fixed in: newer than 4.2
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy squashfs || rpm -q squashfs || squashfs --version
2. UPGRADE to newer than 4.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade squashfs
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade squashfs
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2012-4024?

squashfs: upgrade to newer than 4.2. Exact commands for each OS are on this page.

Is CVE-2012-4024 being exploited?

CVE-2012-4024 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2012-4024 affect?

CVE-2012-4024 affects squashfs. Severity is medium (CVSS 6.8). 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: pr

How urgent is CVE-2012-4024?

Priority 46/100. EPSS top 9%: very likely to be exploited

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.