CVE-2005-4870
CVE-2005-4870 is a medium-severity vulnerability in Ibm Db2 with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.3)
- EPSS exploit prediction: 3% (84th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Ibm Db2
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2005-4870?
- 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.
- How severe is CVE-2005-4870?
- CVE-2005-4870 has a CVSS 2.0 base score of 4.3, rated medium severity.
- Is CVE-2005-4870 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2005-4870?
- CVE-2005-4870 affects Ibm Db2. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2005-4870?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2005-4870 published?
- CVE-2005-4870 was published on 2005-12-31 and last updated on 2026-06-16.
References
- http://marc.info/?l=bugtraq&m=110495554227717&w=2
- http://secunia.com/advisories/12733/
- http://www-1.ibm.com/support/docview.wss?uid=swg1IY62297
- http://www.nextgenss.com/advisories/db205012005H.txt
- http://www.securityfocus.com/bid/11404
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17617
Affected products (1)
- cpe:2.3:a:ibm:db2:8.1:*:*:*:*:*:*:*
More vulnerabilities in Ibm Db2
- CVE-2012-1797 — Critical (CVSS 10.0): IBM DB2 9.5 uses world-writable permissions for nodes.reg, which has unspecified impact and attack vectors.
- CVE-2010-3731 — Critical (CVSS 10.0): Stack-based buffer overflow in the validateUser implementation in the com.ibm.db2.das.core.DasSysCmd function in…
- CVE-2010-3193 — Critical (CVSS 10.0): Unspecified vulnerability in the DB2STST program in IBM DB2 9.1 before FP9, 9.5 before FP6, and 9.7 before FP2 has…
- CVE-2009-4335 — Critical (CVSS 10.0): Multiple unspecified vulnerabilities in bundled stored procedures in the Spatial Extender component in IBM DB2 9.5…
- CVE-2009-3473 — Critical (CVSS 10.0): IBM DB2 9.1 before FP8 does not require the SETSESSIONUSER privilege for the SET SESSION AUTHORIZATION statement, which…
- CVE-2008-6821 — Critical (CVSS 10.0): Buffer overflow in the DAS server in IBM DB2 8 before FP17, 9.1 before FP5, and 9.5 before FP2 might allow attackers to…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.