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…
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.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- The GNU C Library
- Product
- glibc
- CVSS v3.1
- 7.0 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-22
- Exposure class
- Operating system
- NVD status
- Received
Why it ranks 15 (Routine)
- CVSS v3.1 7.0 high
- Product class: operating system
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.
Links
- NIST National Vulnerability Database (CVE API 2.0) (nvd.nist.gov)
- CVE-2026-84243 on this site · NVD · CVE.org · Vulnpedia
Related coverage
Other items that share a CVE or were clustered with this one.