Heap Buffer Overflow in IBM DB2 via REPEAT Function
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.