CVE-2005-4870
Description
Stack-based buffer overflows in the (1) xmlvarcharfromfile, (2) xmlclobfromfile, (3) xmlfilefromvarchar, and (4) xmlfilefromclob function calls in IBM DB2 8.1 allow remote attackers to execute arbitrary code via a 94-byte second argument, which causes the return address to be overwritten with a pointer to the argument.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.632%
chance of exploitation in the next 30 days
higher than 85.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2005-12-31Published
- 2007-10-06Published by the CNA21:00 UTC · 644 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 |
|---|---|---|
| ibm db2 | 8.1no fix listed | not listed |
References
- http://secunia.com/advisories/12733/
- http://www.nextgenss.com/advisories/db205012005H.txt
- http://www-1.ibm.com/support/docview.wss?uid=swg1IY62297
- http://marc.info/?l=bugtraq&m=110495554227717&w=2
- http://www.securityfocus.com/bid/11404
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17617
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2005-4870'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2005-4870'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2005-4870'curl 'https://api.contrastcyber.com/cve_products/CVE-2005-4870'
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).