{"id":"CVE-2006-5397","aliases":["BELL-CVE-2006-5397","DEBIAN-CVE-2006-5397","EUVD-2006-5382","GHSA-mfr2-w78g-62fw"],"status":"published","title":"The Xinput module (modules/im/ximcp/imLcIm.c) in X.Org libX11 1.0.2 and 1.0.3 opens a file for...","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.","severity":{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00356,"percentile":0.29494,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2006-11-03T00:00:00Z","modified":"2026-10-22T23:47:23Z","fixes":[{"ecosystem":"Debian:12","package":"libx11","fixed_in":["2:1.0.3-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libx11","fixed_in":["2:1.0.3-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libx11","fixed_in":["2:1.0.3-3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libx11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.0.3-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libx11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.0.3-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libx11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.0.3-3"}]}]}],"products":[{"vendor":"x.org","product":"libx11"}],"references":[{"url":"http://secunia.com/advisories/22749","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/20845","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=8699","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.vupen.com/english/advisories/2006/4289","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/22642","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git%3Ba=commit%3Bh=686bb8b35acf6cecae80fe89b2b5853f5816ce19","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:199","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29956","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-5397"},{"url":"http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=commit;h=686bb8b35acf6cecae80fe89b2b5853f5816ce19"},{"url":"https://github.com/advisories/GHSA-mfr2-w78g-62fw"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2006-5397","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2006-5397","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2006-5397","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":"published","published":"2006-11-03T00:00:00Z","modified":"2024-08-07T19:48:30.4Z","updated_at":"2026-11-02T14:33:48.116532Z"}],"euvd":[{"id":"EUVD-2006-5382","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":"published","published":"2006-11-03T00:00:00Z","modified":"2024-08-07T19:48:30Z","updated_at":"2026-11-03T01:15:48.048675Z"}],"ghsa":[{"id":"GHSA-mfr2-w78g-62fw","title":"The Xinput module (modules/im/ximcp/imLcIm.c) in X.Org libX11 1.0.2 and 1.0.3 opens a file for...","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":"published","published":"2022-05-01T07:27:59Z","modified":"2025-04-09T03:34:01Z","updated_at":"2026-11-02T15:00:52.801688Z"}],"nvd":[{"id":"CVE-2006-5397","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":"published","published":"2006-11-03T00:07:00Z","modified":"2026-06-16T22:31:07.303Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:01:07.481037Z"}],"osv":[{"id":"BELL-CVE-2006-5397","title":"CVE-2006-5397 does not affect BellSoft software","status":"withdrawn","published":"2006-11-03T00:07:00Z","modified":"2026-09-06T07:15:06.922652509Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T15:28:12.886815Z"},{"id":"CVE-2006-5397","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":"published","published":"2006-11-03T00:07:00Z","modified":"2026-04-10T03:37:48.763614Z","updated_at":"2026-11-02T15:43:56.865964Z"},{"id":"DEBIAN-CVE-2006-5397","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":"published","published":"2006-11-03T00:07:00Z","modified":"2026-10-22T23:47:23.703539756Z","updated_at":"2026-11-02T15:45:23.105674Z"}]}}
