Live › vulnerability › CVE-2026-84243
glibc's gettext functions accept LANGUAGE entries containing '/' or equal to '..' (only blocked for setuid/setgid programs). Anyone who can set LANGUAGE for a program can make it load a crafted .mo catalog from an arbitrary path. A bad catalog can crash the program or supply format strings that consume extra arguments, which is undefined behaviour in printf. Upstream patch targets glibc 2.45.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-30 18:55 UTC. All times on this page are UTC.
Programs that use gettext for translated messages and receive a LANGUAGE value from an untrusted environment, such as an SSH server with AcceptEnv forwarding LANGUAGE and a non-C locale set by the attacker. Setuid and setgid programs are not affected because the library ignores these values for them. unknown for the full list of affected applications.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| glibc | vendor | >= 2.0 | – |
ldd --version for the glibc version; every glibc from 2.0 on is affected until the patch shipsgrep -i AcceptEnv /etc/ssh/sshd_config /etc/ssh/sshd_config.d/* (Debian/Ubuntu defaults accept LANG and LC_*; check for LANGUAGE), plus CGI or services that pass request data into the environmentor equal to..' for all programs, targeting glibc 2.45Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
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.
This page as .md · .json · in your agent: get_signal("CVE-2026-84243")
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.