{"api_version":"1","generated_at":"2026-07-23T08:46:38+00:00","cve":"CVE-2006-5397","urls":{"html":"https://cve.report/CVE-2006-5397","api":"https://cve.report/api/cve/CVE-2006-5397.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2006-5397","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-5397"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2006-11-03 00:07:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"2.1","severity":"","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:N","baseScore":2.1,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"http://secunia.com/advisories/22749","name":"http://secunia.com/advisories/22749","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Mandriva update for libx11 - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2006/4289","name":"http://www.vupen.com/english/advisories/2006/4289","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail | OVH- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git%3Ba=commit%3Bh=686bb8b35acf6cecae80fe89b2b5853f5816ce19","name":"http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git%3Ba=commit%3Bh=686bb8b35acf6cecae80fe89b2b5853f5816ce19","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"cgit.freedesktop.org http git virtual host","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/20845","name":"http://www.securityfocus.com/bid/20845","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"X.Org X Window Server LibX11 Xinput File Descriptor Leak Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:199","name":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:199","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Advisories - Mandriva Linux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/22642","name":"http://secunia.com/advisories/22642","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"libX11 XCOMPOSEFILE File Descriptor Leak - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29956","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29956","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=8699","name":"https://bugs.freedesktop.org/show_bug.cgi?id=8699","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"8699 – input method module leaks fd","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=commit;h=686bb8b35acf6cecae80fe89b2b5853f5816ce19","name":"CONFIRM:http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=commit;h=686bb8b35acf6cecae80fe89b2b5853f5816ce19","refsource":"MITRE","tags":[],"title":"cgit.freedesktop.org http git virtual host","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-5397","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-5397","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2006","cve_id":"5397","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"x.org","cpe5":"libx11","cpe6":"1.0.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"5397","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"x.org","cpe5":"libx11","cpe6":"1.0.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2006-5397","organization":"Red Hat","lastmodified":"2007-03-14","contributor":"Mark J Cox","statementText":"Not vulnerable. These issues did not affect the versions of libX11 as shipped with Red Hat Enterprise Linux 2.1, 3, or 4. Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.","cve_year":"2006","cve_id":"5397","crc32":"c99bcac3"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T19:48:30.400Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"22749","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/22749"},{"name":"20845","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/20845"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.freedesktop.org/show_bug.cgi?id=8699"},{"name":"ADV-2006-4289","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2006/4289"},{"name":"22642","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/22642"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git%3Ba=commit%3Bh=686bb8b35acf6cecae80fe89b2b5853f5816ce19"},{"name":"MDKSA-2006:199","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:199"},{"name":"libx11-xinput-information-disclosure(29956)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29956"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2006-10-30T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-19T15:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"22749","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/22749"},{"name":"20845","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/20845"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.freedesktop.org/show_bug.cgi?id=8699"},{"name":"ADV-2006-4289","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2006/4289"},{"name":"22642","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/22642"},{"tags":["x_refsource_CONFIRM"],"url":"http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git%3Ba=commit%3Bh=686bb8b35acf6cecae80fe89b2b5853f5816ce19"},{"name":"MDKSA-2006:199","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:199"},{"name":"libx11-xinput-information-disclosure(29956)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29956"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2006-5397","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"22749","refsource":"SECUNIA","url":"http://secunia.com/advisories/22749"},{"name":"20845","refsource":"BID","url":"http://www.securityfocus.com/bid/20845"},{"name":"https://bugs.freedesktop.org/show_bug.cgi?id=8699","refsource":"CONFIRM","url":"https://bugs.freedesktop.org/show_bug.cgi?id=8699"},{"name":"ADV-2006-4289","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2006/4289"},{"name":"22642","refsource":"SECUNIA","url":"http://secunia.com/advisories/22642"},{"name":"http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=commit;h=686bb8b35acf6cecae80fe89b2b5853f5816ce19","refsource":"CONFIRM","url":"http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=commit;h=686bb8b35acf6cecae80fe89b2b5853f5816ce19"},{"name":"MDKSA-2006:199","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:199"},{"name":"libx11-xinput-information-disclosure(29956)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29956"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2006-5397","datePublished":"2006-11-03T00:00:00.000Z","dateReserved":"2006-10-18T00:00:00.000Z","dateUpdated":"2024-08-07T19:48:30.400Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2006-11-03 00:07:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:N","baseScore":2.1,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:x.org:libx11:1.0.2:*:*:*:*:*:*:*","matchCriteriaId":"4289D5DB-1E90-4B70-9F95-D201F1A77642"},{"vulnerable":true,"criteria":"cpe:2.3:a:x.org:libx11:1.0.3:*:*:*:*:*:*:*","matchCriteriaId":"1E911824-A0DC-45DD-A0A3-BE38CD611F0A"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2006","CveId":"5397","Ordinal":"1","Title":"CVE-2006-5397","CVE":"CVE-2006-5397","Year":"2006"},"notes":[{"CveYear":"2006","CveId":"5397","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2006-5397"},{"CveYear":"2006","CveId":"5397","Ordinal":"2","NoteData":"2006-11-02","Type":"Other","Title":"Published"},{"CveYear":"2006","CveId":"5397","Ordinal":"3","NoteData":"2017-07-19","Type":"Other","Title":"Modified"}]}}}