CVE-2025-61028
Description
An issue in the time_t_to_dt component of 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.
Affected products
1- Range: =7.2.11
Patches
Vulnerability mechanics
Root cause
"Missing input validation in `time_t_to_dt` causes a segmentation fault when processing a crafted DATE insertion with an out-of-range integer and a malformed interval string."
Attack vector
An attacker with the ability to execute arbitrary SQL statements against a Virtuoso database can trigger a denial-of-service crash by running the provided `CREATE TABLE` and `INSERT` statements. The `INSERT` passes a huge integer (`72057594037927935`) and the string `'-675 seconds'` into a `DATE` column, causing `time_t_to_dt` to fault. No authentication beyond a valid SQL session is required, and the attack can be delivered over the network via the `isql` client against a Docker-hosted instance.
Affected code
The crash occurs in the `time_t_to_dt` function (frame #0) when processing a crafted `INSERT` statement that supplies the value `'-675 seconds'` into a `DATE` column alongside a very large integer `72057594037927935`. The backtrace shows the call chain flows through `box_cast`, `box_cast_to`, `row_insert_cast`, and `ssl_insert_cast` before reaching `insert_node_run` and the SQL execution path.
What the fix does
The advisory does not include a published patch. The issue report [ref_id=1] documents the crash but no fix commit or vendor advisory is referenced. To remediate, the `time_t_to_dt` function would need to validate or sanitize the input values before performing the time conversion, rejecting out-of-range integers or malformed interval strings that cause a segmentation fault.
Preconditions
- authAttacker must be able to connect to the Virtuoso database and execute arbitrary SQL statements (e.g., via isql).
- networkThe server must be reachable over the network (e.g., Docker container with exposed port 1111).
- inputThe crafted INSERT statement must be supplied as input.
Reproduction
```sql CREATE TABLE v0 ( v1 DATE NULL ) ; INSERT INTO v0 ( v1 , v1 ) VALUES ( 72057594037927935 , '-675 seconds' ) ; ``` Save to `/tmp/test.sql`, then run: ``` docker container rm virtdb_test -f docker run --name virtdb_test -itd --env DBA_PASSWORD=dba pkleef/virtuoso-opensource-7 sleep 10 echo "SELECT 1;" | docker exec -i virtdb_test isql 1111 dba cat /tmp/test.sql | docker exec -i virtdb_test isql 1111 dba ```
Generated on Jun 24, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
1News mentions
0No linked articles in our index yet.