Skip to content
Fencer Intel
medium 6.2

CVE-2011-1095 json

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…

published 2011-04-10 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-1109

cvss
6.2
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 44%
public exploits
0
none known

Summary

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.

Patch / fix

  • glibc Debian 14, Debian 13, Debian 12 2.13-16

debian advisories DEBIAN-CVE-2011-1095

  • glibc RHEL 4 2.3.4-2.57
  • nscd RHEL 4 2.3.4-2.57
  • glibc-utils RHEL 4 2.3.4-2.57
  • glibc-common RHEL 4 2.3.4-2.57
  • glibc-profile RHEL 4 2.3.4-2.57
  • glibc-debuginfo-common RHEL 4 2.3.4-2.57
  • glibc RHEL 6 2.12-1.7.el6_0.5
  • nscd RHEL 6 2.12-1.7.el6_0.5

red hat advisories RHSA-2012:0125RHSA-2011:0413RHSA-2011:0412

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2011-1095 updated cvss 3.7

glibc: insufficient quoting in the locale command output

  • Red Hat Enterprise Linux (v. 5.6.z server) nscd 2.5-58.el5_6.2, glibc 2.5-58.el5_6.2, glibc-utils 2.5-58.el5_6.2, glibc-common 2.5-58.el5_6.2, glibc-debuginfo-common 2.5-58.el5_6.2
    fixed: vendor fix RHSA-2011:0412
  • Red Hat Enterprise Linux AS version 4 nscd 2.3.4-2.57, glibc 2.3.4-2.57, glibc-utils 2.3.4-2.57, glibc-common 2.3.4-2.57, glibc-profile 2.3.4-2.57, glibc-debuginfo-common 2.3.4-2.57
    fixed: vendor fix RHSA-2012:0125
  • Red Hat Enterprise Linux Desktop (v. 6) nscd 2.12-1.7.el6_0.5, glibc 2.12-1.7.el6_0.5, glibc-utils 2.12-1.7.el6_0.5, glibc-common 2.12-1.7.el6_0.5 Red Hat Enterprise Linux Desktop Optional (v. 6) nscd 2.12-1.7.el6_0.5, glibc 2.12-1.7.el6_0.5, glibc-utils 2.12-1.7.el6_0.5, glibc-common 2.12-1.7.el6_0.5
    fixed: vendor fix RHSA-2011:0413
  • Red Hat Enterprise Linux Desktop version 4 nscd 2.3.4-2.57, glibc 2.3.4-2.57, glibc-utils 2.3.4-2.57, glibc-common 2.3.4-2.57, glibc-profile 2.3.4-2.57, glibc-debuginfo-common 2.3.4-2.57 Red Hat Enterprise Linux ES version 4 nscd 2.3.4-2.57, glibc 2.3.4-2.57, glibc-utils 2.3.4-2.57, glibc-common 2.3.4-2.57, glibc-profile 2.3.4-2.57, glibc-debuginfo-common 2.3.4-2.57
    fixed: vendor fix RHSA-2012:0125
  • Red Hat Enterprise Linux HPC Node (v. 6) nscd 2.12-1.7.el6_0.5, glibc 2.12-1.7.el6_0.5, glibc-utils 2.12-1.7.el6_0.5, glibc-common 2.12-1.7.el6_0.5 Red Hat Enterprise Linux HPC Node Optional (v. 6) nscd 2.12-1.7.el6_0.5, glibc 2.12-1.7.el6_0.5, glibc-utils 2.12-1.7.el6_0.5, glibc-common 2.12-1.7.el6_0.5 Red Hat Enterprise Linux Server (v. 6) nscd 2.12-1.7.el6_0.5, glibc 2.12-1.7.el6_0.5, glibc-utils 2.12-1.7.el6_0.5, glibc-common 2.12-1.7.el6_0.5 Red Hat Enterprise Linux Server Optional (v. 6) nscd 2.12-1.7.el6_0.5, glibc 2.12-1.7.el6_0.5, glibc-utils 2.12-1.7.el6_0.5, glibc-common 2.12-1.7.el6_0.5 Red Hat Enterprise Linux Workstation (v. 6) nscd 2.12-1.7.el6_0.5, glibc 2.12-1.7.el6_0.5, glibc-utils 2.12-1.7.el6_0.5, glibc-common 2.12-1.7.el6_0.5 Red Hat Enterprise Linux Workstation Optional (v. 6) nscd 2.12-1.7.el6_0.5, glibc 2.12-1.7.el6_0.5, glibc-utils 2.12-1.7.el6_0.5, glibc-common 2.12-1.7.el6_0.5
    fixed: vendor fix RHSA-2011:0413
  • Red Hat Enterprise Linux WS version 4 nscd 2.3.4-2.57, glibc 2.3.4-2.57, glibc-utils 2.3.4-2.57, glibc-common 2.3.4-2.57, glibc-profile 2.3.4-2.57, glibc-debuginfo-common 2.3.4-2.57
    fixed: vendor fix RHSA-2012:0125

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=625893 referenced PoC, tagged "exploit" by a source, unverified
  • openwall.com http://openwall.com/lists/oss-security/2011/03/08/8 referenced PoC, tagged "exploit" by a source, unverified
  • bugs.gentoo.org http://bugs.gentoo.org/show_bug.cgi?id=330923 referenced PoC, tagged "exploit" by a source, unverified
  • openwall.com http://openwall.com/lists/oss-security/2011/03/08/21 referenced PoC, tagged "exploit" by a source, unverified
  • sources.redhat.com http://sources.redhat.com/bugzilla/show_bug.cgi?id=11904 referenced PoC, tagged "exploit" by a source, unverified
  • sourceware.org http://sourceware.org/bugzilla/show_bug.cgi?id=11904 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.2 AV:L/AC:H/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.