---
title: "CVE-2012-4024\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-4024?format=md
keywords: index, follow
---

# CVE-2012-4024

Publication date 19 July 2012

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| squashfs-tools | 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Ignored end of life |
| 15.04 vivid | Ignored end of life |
| 14.10 utopic | Ignored end of life |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Ignored end of life |
| 13.04 raring | Ignored end of life |
| 12.10 quantal | Ignored end of life |
| 12.04 LTS precise | Ignored end of life |
| 11.10 oneiric | Ignored end of life |
| 11.04 natty | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2012-4024?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| squashfs-tools | * Upstream:   <https://sourceforge.net/p/squashfs/code/ci/19c38fba0be1ce949ab44310d7f49887576cc123/> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4024)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-4024)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-4024)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-4024)

### Other references

* <http://www.openwall.com/lists/oss-security/2012/07/19/6>
* <http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel>
* <https://www.cve.org/CVERecord?id=CVE-2012-4024>
