CVE-2020-11656
MySQL vulnerability analysis and mitigation

Overview

In SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free vulnerability, as demonstrated by an ORDER BY clause that belongs to a compound SELECT statement. The vulnerability was discovered and disclosed in April 2020 (NVD).

Technical details

The vulnerability exists in the ALTER TABLE implementation of SQLite where a pointer might be used after being freed when processing an ORDER BY clause that belongs to a compound SELECT statement within a view or trigger. This was identified as a use-after-free (CWE-416) vulnerability. The issue has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

A successful exploitation of this vulnerability could lead to code execution, system crashes, or data corruption through the use-after-free condition. The vulnerability has high impacts on confidentiality, integrity and availability of the affected systems (NVD).

Mitigation and workarounds

The vulnerability was fixed in SQLite versions after 3.31.1. The fix was implemented through a patch that addresses the use-after-free issue in the ALTER TABLE code (SQLite). Users should upgrade to a patched version of SQLite to mitigate this vulnerability.

Community reactions

Multiple organizations and vendors responded to this vulnerability by releasing security advisories and patches, including FreeBSD, Oracle, NetApp, and others. The vulnerability was considered serious enough to be included in multiple vendor security updates (FreeBSD, Oracle, NetApp).

Additional resources


SourceThis report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53054MEDIUM5.5
  • MySQLMySQL
  • mysql:8.4::mecab-devel
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mysql8.4
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql-icu-data-files
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql8.4-devel
NoYesOct 21, 2025

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