CVE-2004-1235
Race condition in the (1) load_elf_library and (2) binfmt_aout function calls for uselib in Linux kernel 2.4 through 2.429-rc2 and 2.6…
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
Race condition in the (1) load_elf_library and (2) binfmt_aout function calls for uselib in Linux kernel 2.4 through 2.429-rc2 and 2.6 through 2.6.10 allows local users to execute arbitrary code by manipulating the VMA descriptor.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 3 Exploit-DB entries for it.
Exploit-DB3 entries
- Linux Kernel 2.4.x/2.6.x - 'uselib()' Local Privilege Escalation (3) (Exploit-DB entry) (opens in a new tab)
EDB-ID 895local, linuxpublished 22 Mar 2005Verified
- Linux Kernel 2.4 - 'uselib()' Local Privilege Escalation (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 778local, linuxpublished 27 Jan 2005Verified
- Linux Kernel 2.4.29-rc2 - 'uselib()' Local Privilege Escalation (1) (Exploit-DB entry) (opens in a new tab)
EDB-ID 744local, linuxpublished 7 Jan 2005Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 36 days later
· 36 days later
Published
- 20 years later
· 20 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.2 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 2.9% · top 13% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.2.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (25)
- 20163 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1082 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- MDKSA-2005:022 (opens in a new tab)vendor-advisoryx_refsource_MANDRAKEx_transferred
- RHSA-2005:017 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- FLSA:2336 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- http://www.securityfocus.com/advisories/7804 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://isec.pl/vulnerabilities/isec-0021-uselib.txt (opens in a new tab)x_refsource_MISCx_transferred
- DSA-1070 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2005:016 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 20162 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2005:043 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 2005-0001 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- RHSA-2005:092 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-1067 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- FEDORA-2005-014 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- DSA-1069 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- CLA-2005:930 (opens in a new tab)vendor-advisoryx_refsource_CONECTIVAx_transferred
- SUSE-SR:2005:001 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 12190 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- linux-uselib-gain-privileges(18800) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 20050107 Linux kernel sys_uselib local root vulnerability (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- oval:org.mitre.oval:def:9567 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- FEDORA-2005-013 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 20202 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20338 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2004-1232 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2004-1235)Record last updated .