First published: Fri Nov 03 2006(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
X.Org LibX11 | =1.0.2 | |
X.Org LibX11 | =1.0.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2006-5397 is considered a medium severity vulnerability due to the potential for local users to exploit the file descriptor leak.
To fix CVE-2006-5397, upgrade to a patched version of X.Org libX11 that addresses the file descriptor leak.
Users of X.Org libX11 versions 1.0.2 and 1.0.3 are affected by CVE-2006-5397.
CVE-2006-5397 allows local users to read arbitrary files specified by the XCOMPOSEFILE environment variable, leading to potential data exposure.
A recommended workaround for CVE-2006-5397 is to restrict access to the affected file descriptors until an upgrade can be performed.