CWE
119
Advisory Published
CVE Published
Updated

CVE-2005-4870: Buffer Overflow

First published: Sat Dec 31 2005(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
IBM DB2 Universal Database=8.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2005-4870?

    CVE-2005-4870 is classified as a high severity vulnerability due to the potential for remote code execution.

  • How do I fix CVE-2005-4870?

    To fix CVE-2005-4870, upgrade to a patched version of IBM DB2 that addresses the stack-based buffer overflow issues.

  • What type of software is vulnerable in CVE-2005-4870?

    CVE-2005-4870 specifically affects IBM DB2 version 8.1.

  • What attack vector does CVE-2005-4870 utilize?

    CVE-2005-4870 allows remote attackers to exploit the vulnerability via crafted function calls that trigger buffer overflows.

  • What functions are involved in the CVE-2005-4870 vulnerability?

    The functions xmlvarcharfromfile, xmlclobfromfile, xmlfilefromvarchar, and xmlfilefromclob in IBM DB2 are involved in CVE-2005-4870.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203