An attacker who can set LANGUAGE in the environment of a program that uses gettext can make it load a message catalog (.mo file) from an arbitrary location in the file system.
- CVSS
- 7.0High
- Chance of exploitation (EPSS)
- 0.34%
- Published
- Oct 30, 2026
- In the news
- 1 story
What to do
A serious path traversal flaw in The Gnu C Library Glibc that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- The Gnu C Library Glibc
- 2.0
Description
The gettext family of functions in the GNU C Library version 2.0 and later accept LANGUAGE environment variable entries that contain '/' or that are equal to "..", unless the program is setuid or setgid (AT_SECURE). An attacker who can set LANGUAGE in the environment of a program that uses gettext can make it load a message catalog (.mo file) from an arbitrary location in the file system. A crafted .mo file can crash the program through out-of-range offsets, or supply translations whose format directives do not match the arguments passed by the program. That causes undefined behaviour in the printf family of functions and may allow arbitrary code execution with the privileges of the program. The safety of message catalogs relies on them being installed in trusted, read-only locations, and the directory traversal bypasses this.
The fix for CVE-2014-0475 rejects ".." path components in locale names passed to setlocale or taken from the LC_ALL, LC_* and LANG environment variables. gettext reads LANGUAGE directly and appends each colon-separated entry to the message catalog directory, so that fix did not cover LANGUAGE.
LANGUAGE is only used when the LC_MESSAGES locale is not "C", "C.<encoding>" or "POSIX", so the attacker must also be able to select another installed locale, for example through LANG or LC_ALL. Exploitation also requires that the attacker can place the crafted file in a location readable by the target program, and that the environment crosses a trust boundary without the program running as AT_SECURE. An example is an SSH server that accepts LANGUAGE and LANG from clients through the AcceptEnv directive and restricts an account to a forced command; the attacker may use this to escape the restriction.
Affected products
Get alerts for these →Timeline 12
Latest change: Nessus plugin 381505: CentOS Linux 7 [TuxCare] Security Update: glibc / glibc-common / glibc-devel / glibc-headers / glibc-static / etc Multiple Vulnerabilities (CENTOS7:CLSA-2026:1794272487) (Nov 14, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sun, Nov 15, 2026
Sat, Nov 14, 2026
Thu, Nov 12, 2026
- AdvisoryUSN-9065-1: GNU C Library vulnerabilitiesUbuntu · 14:08 UTC
Wed, Nov 11, 2026
Mon, Nov 9, 2026
Fri, Nov 6, 2026
- DetectionNessus plugin 377001: CentOS Linux 8.5 [TuxCare] Security Update: compat-libpthread-nonshared / glibc / glibc-all-langpacks / etc (CENTOS8.5:CLSA-2026:1793958787)Tenable
- DetectionNessus plugin 377093: AlmaLinux 9.6 [TuxCare] Security Update: compat-libpthread-nonshared / glibc / glibc-all-langpacks / etc (ALMALINUX9.6:CLSA-2026:1793969685)Tenable
- DetectionNessus plugin 377100: Rocky Linux 9.6 [TuxCare] Security Update: compat-libpthread-nonshared / glibc / glibc-all-langpacks / etc (ALMALINUX9.6:CLSA-2026:1793969685)Tenable
Wed, Nov 4, 2026
Sat, Oct 31, 2026
Fri, Oct 30, 2026
- CVECVE-2026-84243 published (CVSS 7.0)CVE Program · 18:18 UTC
References 3
- inbox.sourceware.org /libc-alpha/[email protected]
- sourceware.org /bugzilla/show_bug.cgi?id=17142
- sourceware.org /git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0025