Vulnerabilities / CVE-2020-11656

critical

CVE-2020-11656

sqlite: use-after-free in the ALTER TABLE implementation

Published Modified CWE 416
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, Bitnami, Photon OS. Rated lower by Red Hat (medium).

Description

In SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compound SELECT statement.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0ceph0:18.2.1-1.azl3
bitnami::Bitnami Vulnerability Databasesqlite3.31.2
Photon OS 1.0sqlite-autoconf3.31.1-3.ph1
Photon OS 2.0sqlite3.31.1-2.ph2
Photon OS 3.0sqlite3.31.1-2.ph3
Photon OS 4.0mysql, mysql-devel, mysql-icu-data-files8.0.23-1.ph4
chainguardmysql-8.08.0.38-r0
debian 11sqlite33.32.0-1
debian 12sqlite33.32.0-1
debian 13sqlite33.32.0-1
debian 14sqlite33.32.0-1
echosqlite33.32.0-1
Show all 17 entries from 15 sources
SourcePackageFixed in
Azure Linux 3.0ceph0:18.2.1-1.azl3
bitnami::Bitnami Vulnerability Databasesqlite3.31.2
Photon OS 1.0sqlite-autoconf3.31.1-3.ph1
Photon OS 2.0sqlite3.31.1-2.ph2
Photon OS 3.0sqlite3.31.1-2.ph3
Photon OS 4.0mysql8.0.23-1.ph4
Photon OS 4.0mysql-devel8.0.23-1.ph4
Photon OS 4.0mysql-icu-data-files8.0.23-1.ph4
chainguardmysql-8.08.0.38-r0
debian 11sqlite33.32.0-1
debian 12sqlite33.32.0-1
debian 13sqlite33.32.0-1
debian 14sqlite33.32.0-1
echosqlite33.32.0-1
root.io debian 11rootio-sqlite33.32.0-1
root.io debian 12rootio-sqlite33.32.0-1
root.io debian 13rootio-sqlite33.32.0-1

References

All 16 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.