CVE-2004-2731
Description
Multiple integer overflows in Sbus PROM driver (drivers/sbus/char/openprom.c) for the Linux kernel 2.4.x up to 2.4.27, 2.6.x up to 2.6.7, and possibly later versions, allow local users to execute arbitrary code by specifying (1) a small buffer size to the copyin_string function or (2) a negative buffer size to the copyin function.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.562%
chance of exploitation in the next 30 days
higher than 47.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Weakness
Timeline
- 2004-12-31Published
- 2007-10-09Published by the CNA10:00 UTC · 1012 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | 2.4.0no fix listed2.4.1no fix listed2.4.10no fix listed2.4.11no fix listed2.4.12no fix listed(+49 more) | not listednot listednot listednot listednot listed |
References
- http://secunia.com/advisories/11981
- http://www.debian.org/security/2008/dsa-1503
- http://archives.neohapsis.com/archives/bugtraq/2004-06/0463.html
- http://www.securiteam.com/unixfocus/5GP0515DFW.html
- http://secunia.com/advisories/29058
- http://securitytracker.com/id?1010617
- http://www.osvdb.org/7345
- http://www.osvdb.org/8363
- http://www.securityfocus.com/bid/10632
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2004-2731'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2004-2731'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2004-2731'curl 'https://api.contrastcyber.com/cve_products/CVE-2004-2731'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).