Description
The Xinput module (modules/im/ximcp/imLcIm.c) in X.Org libX11 1.0.2 and 1.0.3 opens a file for reading twice using the same file descriptor, which causes a file descriptor leak that allows local users to read files specified by the XCOMPOSEFILE environment variable via the duplicate file descriptor.
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 | libx11 | 2:1.0.3-3 | — |
| Debian 13 | libx11 | 2:1.0.3-3 | — |
| Debian 12 | libx11 | 2:1.0.3-3 | — |
References
- 22749 third-party-advisory
- 20845 vdb-entry
- https://bugs.freedesktop.org/show_bug.cgi?id=8699
- ADV-2006-4289 vdb-entry
- 22642 third-party-advisory
- http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git%3Ba=commit%3Bh=686bb8b35acf6cecae80fe89b2b5853f5816ce19
- MDKSA-2006:199 vendor-advisory
- libx11-xinput-information-disclosure(29956) vdb-entry