CVE-2023-48945
Description
A stack overflow in openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) via crafted SQL statements.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A crafted SQL statement triggers a stack buffer overflow in OpenLink Virtuoso Open-Source Edition 7.2.11, causing a denial of service via stack smashing.
Vulnerability
A stack buffer overflow exists in the virtuoso-opensource version 7.2.11 when processing specially crafted INSERT and SELECT SQL statements that involve correlated subqueries and aggregates. The vulnerable code path is reachable via the ODBC/JDBC or isql interface without authentication; any user with the ability to execute arbitrary SQL statements can trigger the overflow. The exact internal function is not disclosed in the available references, but the crash manifests as stack smashing detected by the runtime [1].
Exploitation
An attacker needs network access to a running Virtuoso instance (default port 1111 for SQL, 8890 for HTTP/WebDAV) and valid credentials that allow executing SQL statements. The proof of concept from [1] uses the isql command-line tool with the DBA user. The sequence is: create a table with a DECIMAL column, insert a row, and then execute a crafted INSERT statement containing a CASE expression inside a correlated subquery with a GROUP BY clause, followed by a recursive UPDATE. The stack smashing occurs during the execution of these statements.
Impact
Successful exploitation causes a denial of service (DoS) by corrupting the call stack and terminating the server process. The crash prevents legitimate database access until the service is manually restarted. No evidence of code execution or data corruption beyond the crash has been reported in the available references.
Mitigation
As of the publication date (29 November 2023), no fixed version or official patch had been released by OpenLink Software. Users are advised to restrict SQL execution privileges to trusted users and monitor for unusual SQL statements. If the issue is a priority, consider applying network-level filtering or running Virtuoso in a container that automatically restarts on failure. The product version 7.2.11 is affected; newer versions may address the issue [1].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- openlink/virtuoso-opensourcedescription
- Range: =7.2.11
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1News mentions
0No linked articles in our index yet.