Description
The _cupsGetlang function, as used by lppasswd.c in lppasswd in CUPS 1.2.2, 1.3.7, 1.3.9, and 1.4.1, relies on an environment variable to determine the file that provides localized message strings, which allows local users to gain privileges via a file that contains crafted localization data with format string specifiers.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cups | 1.4.2-9.1 | — |
| Debian 13 | cups | 1.4.2-9.1 | — |
| Debian 12 | cups | 1.4.2-9.1 | — |
| Debian 5.0 | cups | 1.3.8-1+lenny8 | DSA-2007-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cups | 2.1.3-2.3 | openSUSE-SU-2024:10075-1 |
Advisories 2
- DSA-2007-1 cups - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10075-1 cups-2.1.3-2.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://www.cups.org/str.php?L3482
- USN-906-1 vendor-advisory
- 38524 vdb-entry
- APPLE-SA-2010-03-29-1 vendor-advisory
- MDVSA-2010:072 vendor-advisory
- GLSA-201207-10 vendor-advisory
- MDVSA-2010:073 vendor-advisory
- http://support.apple.com/kb/HT4077
- https://bugzilla.redhat.com/show_bug.cgi?id=558460