CVE-2005-4870 Memory corruption in n/a
Remote attackers can execute arbitrary code on IBM DB2 via stack-based buffer overflows in specific XML function calls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2005-4870?
CVE-2005-4870 is a medium-severity memory corruption vulnerability in Ibm Db2, published on 6 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2005-4870?
It affects 1 product.
Products include Ibm Db2.
How do I fix CVE-2005-4870?
No fix has been published for CVE-2005-4870 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2005-4870 being exploited?
There is no known exploitation of CVE-2005-4870 in the wild and no public exploit code.
Other vulnerabilities in Ibm Db2
Sources
Also known as GHSA-63qq-8356-xpg6.