CVE-2025-61023
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-61023 is a Denial of Service (DoS) vulnerability in the st_compare component of OpenLink Virtuoso Open-Source v7.2.11, triggered by crafted SQL statements. The issue was originally reported as a fuzzer-discovered crash on January 7, 2024, and was publicly disclosed via CVE assignment on June 23, 2026 (GitHub Issue, GitHub Advisory). It carries a CVSS v3.1 base score of 7.5 (High), reflecting network-accessible exploitation with no authentication or user interaction required (GitHub Advisory, Red Hat Bugzilla).

Technical details

The vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), though the practical impact is a crash rather than data exfiltration (GitHub Advisory). The crash occurs in the st_compare function, which is invoked during SQL query compilation — specifically during grouping/sorting operations triggered by CUBE expressions and subqueries in INSERT ... SELECT statements. The backtrace from the original fuzzer report shows the crash path: st_comparebsearchqsort_rmake_grouping_bitmap_setsqlg_make_sort_nodes, indicating a memory safety issue during sort node construction (GitHub Issue). No authentication is required to submit SQL statements to a network-accessible Virtuoso instance, making this remotely exploitable without preconditions.

Impact

Successful exploitation causes the Virtuoso database service to crash, resulting in a complete loss of availability for all dependent applications and users (Red Hat CSAF). There is no impact on confidentiality or data integrity — the vulnerability is purely a DoS condition. Virtuoso is commonly used as a triple store and SPARQL endpoint in semantic web and linked data deployments, so service disruption could affect data access pipelines and APIs relying on the database (GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify internet-facing Virtuoso Open-Source v7.2.11 instances by scanning for the default ISQL port (1111) or HTTP SPARQL endpoint (typically port 8890) using tools like Shodan or Nmap.
  2. Access the ISQL interface: Connect to the Virtuoso ISQL interface either directly (if port 1111 is exposed) or via the SPARQL/SQL HTTP endpoint. No credentials are required if the instance is misconfigured with default or no authentication.
  3. Submit the crafted SQL payload: Execute the following SQL statements that trigger the crash in st_compare during query compilation:
CREATE TABLE v0 ( v1 INTEGER CHECK ( ( SELECT ( SELECT v1 + v1 AS b_plus_one ) ) ) );
INSERT INTO v0 SELECT TOP 0 1 FROM v0 WHERE 'xwvutsr' < 0 GROUP BY CUBE ( v1 , 1 );
  1. Trigger the crash: The INSERT ... SELECT statement with the CUBE grouping expression causes the server to invoke st_compare during sort node construction, resulting in a crash and service unavailability (GitHub Issue).

Indicators of compromise

  • Network: Unexpected or repeated SQL connections to Virtuoso ISQL port (TCP/1111) from external or untrusted IP addresses; unusual HTTP POST requests to the SPARQL endpoint containing CUBE, GROUP BY, or complex subquery patterns.
  • Logs: Virtuoso server logs showing abrupt process termination or crash entries referencing st_compare, make_grouping_bitmap_set, or sqlg_make_sort_nodes; repeated connection attempts followed by service restarts.
  • Process: Unexpected termination of the virtuoso-t process; automatic restart loops of the Virtuoso service daemon indicating repeated crashes.
  • File System: Core dump files generated in the Virtuoso working directory following a crash event (GitHub Issue).

Mitigation and workarounds

No official patch has been released for Virtuoso Open-Source v7.2.11 as of the time of disclosure; the GitHub Advisory lists both affected and patched versions as unknown (GitHub Advisory). Red Hat has confirmed that the vulnerable code is not present in the virtuoso-opensource package shipped with RHEL 7 ELS, so Red Hat products are not impacted (Red Hat CSAF). Recommended mitigations include: restricting network access to the Virtuoso ISQL port (TCP/1111) and SPARQL endpoint to trusted hosts only using firewall rules; implementing input validation and filtering for SQL statements at the application layer; and monitoring for unusual SQL patterns indicative of DoS attempts. Organizations should track the upstream repository for a patched release.

Community reactions

Red Hat assessed the vulnerability as 'Important' in severity but confirmed that RHEL 7 ELS packages are not affected because the vulnerable code is absent from their build (Red Hat CSAF). The vulnerability was detected by Tenable's Nessus scanner (plugin 322440), indicating it has been incorporated into commercial vulnerability scanning tools (Feedly). No significant broader community or social media discussion has been observed beyond standard CVE tracking and advisory publication.

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64530NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 26, 2026
CVE-2024-14040NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 26, 2026
CVE-2026-64529NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 25, 2026
CVE-2026-64528NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 25, 2026
CVE-2026-64527NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management