CVE-2005-4870: IBM DB2

Medium severity, CVSS 4.3. EPSS: 2.6% chance of exploitation in the next 30 days.

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.

Affected products

  • IBM DB2: version 8.1 only

Published 2005-12-31. Last modified 2026-06-16.