X.Org X Window Server LibX11 Xinput File Descriptor Leak Vulnerability

BID:20845

Info

X.Org X Window Server LibX11 Xinput File Descriptor Leak Vulnerability

Bugtraq ID: 20845
Class: Design Error
CVE: CVE-2006-5397
Remote: No
Local: Yes
Published: Nov 01 2006 12:00AM
Updated: Jan 16 2007 06:20PM
Credit: Kees Cook is credited with the discovery of this vulnerability.
Vulnerable: X.org X11R7 7.0
X.org libx11 1.0.3
X.org libx11 1.0.2
Mandriva Linux Mandrake 2007.0 x86_64
Mandriva Linux Mandrake 2007.0
Not Vulnerable:

Discussion

X.Org X Window Server LibX11 Xinput File Descriptor Leak Vulnerability

X.Org X Window Server libX11 library 'Xinput' module is prone to a file-descriptor leak due to a design error.

The vulnerability arises because the application fails to close a file descriptor after file operations. An attacker can exploit this issue to open files with elevated privileges.

Versions 1.0.2 and 1.0.3 of libX11 are reported affected; other versions may be affected as well.

Exploit / POC

Solution / Fix

X.Org X Window Server LibX11 Xinput File Descriptor Leak Vulnerability

Solution:
Reportedly, this issue has been addressed in the freedesktop.org GIT repository. Symantec was unable to confirm this information.

Please see the referenced vendor advisories for more information.


X.org libx11 1.0.3

References

X.Org X Window Server LibX11 Xinput File Descriptor Leak Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report