
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-36366 is a denial-of-service vulnerability in IBM Db2 for Linux, UNIX, and Windows (including Db2 Connect Server) caused by improper neutralization of special elements in data query logic. An authenticated user can trigger an unhandled exception by executing a query that invokes the JSON_Object scalar function, resulting in abnormal server termination. Affected versions include 11.5.0–11.5.9 and 12.1.0–12.1.3 across Linux, UNIX, and Windows platforms. It carries a CVSS v3.1 base score of 6.5 (Medium) (IBM Advisory, Red Hat CVE).
The root cause is classified as CWE-943 (Improper Neutralization of Special Elements in Data Query Logic). An authenticated attacker with network access can craft a SQL query invoking the JSON_Object scalar function in a way that triggers an unhandled exception within the Db2 engine, causing the server process to terminate abnormally. Exploitation requires only low privileges (a valid database user account) and no user interaction, with low attack complexity over a network vector. No public proof-of-concept code has been identified (IBM Advisory, Red Hat CVE).
Successful exploitation results in a complete loss of availability for the affected Db2 instance, as the server terminates abnormally. There is no impact on confidentiality or data integrity — the vulnerability is purely a denial-of-service condition. Any workloads, applications, or users dependent on the affected Db2 server would experience an outage until the service is restarted (IBM Advisory).
db2 CLI, JDBC, ODBC) over the network.JSON_Object scalar function with inputs designed to trigger the unhandled exception (specific payload details are not publicly documented).JSON_Object function call, encounters an unhandled exception, and terminates abnormally, causing a denial of service for all connected users and dependent applications (IBM Advisory).db2diag.log records showing unhandled exceptions or abnormal termination events correlated with JSON_Object function calls.db2sysc or related Db2 engine processes without a planned shutdown.JSON_Object scalar function invocations immediately preceding server crashes.IBM has released a patch addressing this vulnerability, available through the IBM support portal (node 7257681). Administrators should apply the fix immediately for all affected Db2 instances running versions 11.5.0–11.5.9 or 12.1.0–12.1.3. As interim mitigations, restrict database access to trusted users only, implement network segmentation to limit exposure of Db2 ports, and enable query logging to monitor for unusual use of the JSON_Object function (IBM Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."