{"id":"DEBIAN-CVE-2006-5397","details":"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.","modified":"2026-09-12T06:47:34.940504469Z","published":"2006-11-03T00:07:00Z","upstream":["CVE-2006-5397"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2006-5397"}],"affected":[{"package":{"name":"libx11","ecosystem":"Debian:12","purl":"pkg:deb/debian/libx11?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.0.3-3"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2006-5397.json"}},{"package":{"name":"libx11","ecosystem":"Debian:13","purl":"pkg:deb/debian/libx11?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.0.3-3"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2006-5397.json"}},{"package":{"name":"libx11","ecosystem":"Debian:14","purl":"pkg:deb/debian/libx11?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.0.3-3"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2006-5397.json"}}],"schema_version":"1.9.0"}