sqlite3Select in select.c in SQLite 3.30.1 allows a crash if a sub-select uses both DISTINCT and window functions, and also has certain ORDER BY usage.
https://www.cisa.gov/news-events/ics-advisories/icsa-24-284-16
https://www.oracle.com/security-alerts/cpuapr2020.html
https://usn.ubuntu.com/4205-1/
https://github.com/sqlite/sqlite/commit/e59c562b3f6894f84c715772c4b116d7b5c01348
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf