CVE-2025-36008

6.5 MEDIUM

📋 TL;DR

This vulnerability in IBM Db2 allows authenticated users to cause denial of service by exploiting improper resource allocation. It affects Db2 versions 11.5.0-11.5.9 and 12.1.0-12.1.3 on Linux, UNIX, and Windows systems, including Db2 Connect Server installations.

💻 Affected Systems

Products:
  • IBM Db2
  • IBM Db2 Connect Server
Versions: 11.5.0 through 11.5.9, 12.1.0 through 12.1.3
Operating Systems: Linux, UNIX, Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all configurations of listed versions; requires authenticated database user access

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database unavailability affecting all dependent applications and services

🟠

Likely Case

Degraded database performance or temporary service interruptions

🟢

If Mitigated

Minimal impact with proper resource monitoring and user privilege restrictions

🌐 Internet-Facing: MEDIUM - Requires authentication but internet-facing Db2 instances could be targeted
🏢 Internal Only: HIGH - Authenticated internal users could intentionally or accidentally trigger the issue

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Requires authenticated database user access; exploitation likely involves specific queries or operations that trigger resource exhaustion

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Apply fixes from IBM security bulletin

Vendor Advisory: https://www.ibm.com/support/pages/node/7250482

Restart Required: Yes

Instructions:

1. Review IBM security advisory 2. Apply appropriate fix pack or interim fix 3. Restart Db2 instance 4. Verify fix application

🔧 Temporary Workarounds

Restrict User Privileges

all

Limit database user permissions to reduce attack surface

REVOKE EXECUTE ON PROCEDURE <procedure_name> FROM <user>
REVOKE CONNECT ON DATABASE FROM <user>

Implement Resource Limits

all

Configure database resource limits to prevent excessive allocation

UPDATE DATABASE CONFIGURATION USING <resource_limit_parameter> <value>

🧯 If You Can't Patch

  • Implement strict access controls and least privilege principles for all database users
  • Deploy monitoring for abnormal resource consumption patterns and implement alerting

🔍 How to Verify

Check if Vulnerable:

Check Db2 version using 'db2level' command and compare against affected versions

Check Version:

db2level | grep "Product installed"

Verify Fix Applied:

Verify applied fix version matches or exceeds patched versions in IBM advisory

📡 Detection & Monitoring

Log Indicators:

  • Abnormal resource allocation errors in db2diag.log
  • Unexpected database termination or restart events
  • High memory/CPU consumption alerts

Network Indicators:

  • Increased failed connection attempts to Db2
  • Abnormal query patterns from authenticated users

SIEM Query:

source="db2diag.log" AND ("resource allocation" OR "out of memory" OR "denial of service")

🔗 References

📤 Share & Export