CVE-2026-84243: gettext: Directory traversal via the LANGUAGE environment variable
Vulnerability summary
CVE-2026-84243 is a high (CVSS 7.0) vulnerability in the gnu c library glibc. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 22.5% of scored vulnerabilities.
Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 1 · Downstream 5 · Related 4Timeline
- 30-10-2026PublishedVulnerability first disclosed.
- 31-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.30% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat88 products
- compat-libpthread-nonshared< 0:2.43-9.3.hum1
- glibc< 0:2.43-9.3.hum1
- glibc-all-langpacks< 0:2.43-9.3.hum1
- glibc-benchtests< 0:2.43-9.3.hum1
- glibc-common< 0:2.43-9.3.hum1
Chainguard54 products
- glibc-2.43All versions (No fix recorded) | < 2.43-r24
- glibc-2.43-abi-reportAll versions (No fix recorded) | < 2.43-r24
- glibc-2.43-devAll versions (No fix recorded) | < 2.43-r24
- glibc-2.43-iconvAll versions (No fix recorded) | < 2.43-r24
- glibc-2.43-locale-caAll versions (No fix recorded) | < 2.43-r24
Wolfi54 products
- glibc-2.43All versions (No fix recorded) | < 2.43-r24
- glibc-2.43-abi-reportAll versions (No fix recorded) | < 2.43-r24
- glibc-2.43-devAll versions (No fix recorded) | < 2.43-r24
- glibc-2.43-iconvAll versions (No fix recorded) | < 2.43-r24
- glibc-2.43-locale-caAll versions (No fix recorded) | < 2.43-r24
Ubuntu2 products
- eglibcAll versions (No fix recorded)
- glibcAll versions (No fix recorded) | < 2.35-0ubuntu3.18 | < 2.39-0ubuntu8.12 | < 2.44-1ubuntu2.1 | < 2.43-2ubuntu2.7
Debian1 product
- glibcAll versions (No fix recorded)
Opensuse1 product
- glibc&distro=openSUSE Tumbleweed< 2.44-4.1
6 vendors · 200 products · Showing 200 of 342
References
22 links- sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0025Vendor AdvisoryREPORTARTICLE
Show all 22 references
- images.redhat.comARTICLE