CVE-2010-0462

IBM DB2 9.1-9.7 - Authenticated Heap-Based Buffer Overflow via REPEAT Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2010-0462. PoCs published by Evgeny Legerov.

AI-analyzed exploit summary This exploit leverages a heap-based buffer overflow in IBM DB2 by executing a maliciously crafted SQL query with an excessively large REPEAT function. The vulnerability allows arbitrary code execution or application crash due to inadequate boundary checks.

Description

Heap-based buffer overflow in IBM DB2 9.1 before FP9, 9.5 before FP6, and 9.7 before FP2 allows remote authenticated users to have an unspecified impact via a SELECT statement that has a long column name generated with the REPEAT function.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Evgeny Legerov · textlocalunix
https://www.exploit-db.com/exploits/33572

This exploit leverages a heap-based buffer overflow in IBM DB2 by executing a maliciously crafted SQL query with an excessively large REPEAT function. The vulnerability allows arbitrary code execution or application crash due to inadequate boundary checks.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: IBM DB2 versions prior to 9.1 Fix Pack 9 and IBM DB2 9.7
No auth needed
Prerequisites: Access to execute SQL queries on the target DB2 instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (11)

Core 11
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/55899
Various Sources vendor-advisory x_refsource_aixapar
http://www-01.ibm.com/support/docview.wss?uid=swg1IC65935
Various Sources vendor-advisory x_refsource_aixapar
http://www-01.ibm.com/support/docview.wss?uid=swg1IC65933
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/37976
Various Sources vendor-advisory x_refsource_aixapar
http://www-01.ibm.com/support/docview.wss?uid=swg1IC65922
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1023509
Various Sources x_refsource_confirm
http://www-01.ibm.com/support/docview.wss?uid=swg21426108
Various Sources x_refsource_confirm
http://www-01.ibm.com/support/docview.wss?uid=swg21432298
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A14518

Scores

EPSS 0.0752
EPSS Percentile 93.7%

Details

CWE
CWE-119
Status published
Products (3)
ibm/db2 9.1 (14 CPE variants)
ibm/db2 9.5 (10 CPE variants)
ibm/db2 9.7 (2 CPE variants)
Published Jan 28, 2010
Tracked Since Feb 18, 2026