---
title: "CVE-2006-5397\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2006-5397?format=md
keywords: index, follow
---

# CVE-2006-5397

Publication date 3 November 2006

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libx11 | 7.04 feisty | Not affected |
| 6.10 edgy | Not affected |
| 6.06 LTS dapper | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5397)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2006-5397)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2006-5397)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2006-5397)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2006-5397>
