CVE-2010-0462: Heap Buffer Overflow in IBM DB2 via REPEAT Function
- Vendor
- International Business Machines
A heap-based buffer overflow exists in IBM DB2 versions 9.1 before FP9, 9.5 before FP6, and 9.7 before FP2. The vulnerability can be triggered by a remote authenticated user issuing a SELECT statement with a long column name generated using the REPEAT function. The overflow occurs due to improper bounds checking when handling column names of excessive length, leading to memory corruption.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation may allow remote authenticated users to execute arbitrary code, cause a denial of service, or otherwise compromise the integrity and availability of the DB2 database server. The exact impact is unspecified but is typical of heap-based buffer overflows, which can lead to code execution or service crashes.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the database to trusted users only, monitor for unusual SELECT statements using the REPEAT function, and apply the latest security patches from IBM as soon as possible.
Remediation
Patch, then assume compromise.
Upgrade IBM DB2 to version 9.1 FP9, 9.5 FP6, or 9.7 FP2 or later, as these versions contain the fix for this vulnerability.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2010-0462 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2010-0462 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2010-0462?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2010-0462.
- Is there a patch for CVE-2010-0462?
- Upgrade IBM DB2 to version 9.1 FP9, 9.5 FP6, or 9.7 FP2 or later, as these versions contain the fix for this vulnerability.
- What products are affected by CVE-2010-0462?
- International Business Machines Db2.
- How severe is CVE-2010-0462?
- CVE-2010-0462 has a CVSS v2 score of 6.5 (Medium) and an EPSS score of 7.5% (95th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.