CVE-2006-5397

CVE-2006-5397 is a low-severity vulnerability in X.org Libx11 with a CVSS 2.0 base score of 2.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

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.

Frequently asked questions

What is CVE-2006-5397?
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.
How severe is CVE-2006-5397?
CVE-2006-5397 has a CVSS 2.0 base score of 2.1, rated low severity.
Is CVE-2006-5397 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2006-5397?
CVE-2006-5397 primarily affects X.org Libx11. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2006-5397?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2006-5397 published?
CVE-2006-5397 was published on 2006-11-03 and last updated on 2026-06-16.

References

Affected products (2)

More vulnerabilities in X.org Libx11

All CVEs affecting X.org Libx11 →