
CVE catalog
CVE-2023-7104
sqlite3: CVE-2023-7104
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.46% · Oct 25, 2026
A vulnerability was found in SQLite SQLite3 up to 3.43.0 and classified as critical. This issue affects the function sessionReadRecord of the file ext/session/sqlite3session.c of the component make alltest Handler. The manipulation leads to heap-based buffer overflow. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-248999.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | sqlite3 | sid | 3.53.4-2 | fixed |
| Debian | sqlite3 | forky | 3.53.4-2 | fixed |
| Debian | sqlite3 | trixie | 3.46.1-7+deb13u2 | fixed |
| Debian | sqlite3 | bookworm | 3.40.1-2+deb12u2 | fixed |
| Cpe | sqlite | Not reported | Not reported | unknown |
| Cpe | fedora | Not reported | Not reported | unknown |
| Alpine | sqlite | 3.16 | 3.40.1-r1 | fixed |
| Alpine | sqlite | 3.17 | 3.40.1-r1 | fixed |
| Alpine | sqlite | 3.18 | 3.41.2-r3 | fixed |
| Ubuntu | sqlite3 | pro | 3.19.3-3 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.20.1-2 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.21.0-1 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.1 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.2 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.3 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.4 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.5 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.6 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.7 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.7+esm1 | fixed |
| Ubuntu | sqlite3 | pro | 3.19.3-3 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.20.1-2 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.21.0-1 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.1 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.2 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.3 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.4 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.5 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.6 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.7 | vulnerable |
| Ubuntu | sqlite3 | pro | 3.22.0-1ubuntu0.7+esm1 | fixed |
| Ubuntu | sqlite3 | 20.04 | 3.29.0-2 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.30.1-1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.30.1-1ubuntu1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-1ubuntu1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-3 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.2 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.3 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.4 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.5 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.6 | fixed |
| Ubuntu | sqlite3 | 22.04 | 3.35.5-1 | vulnerable |
| Ubuntu | sqlite3 | 22.04 | 3.36.0-2 | vulnerable |
| Ubuntu | sqlite3 | 22.04 | 3.37.2-2 | vulnerable |
| Ubuntu | sqlite3 | 22.04 | 3.37.2-2ubuntu0.1 | vulnerable |
| Ubuntu | sqlite3 | 22.04 | 3.37.2-2ubuntu0.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sqlite3 | source | sid | 3.43.1-1 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | forky | 3.43.1-1 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | trixie | 3.43.1-1 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | bookworm | 3.40.1-2+deb12u1 | not yet assigned | Not reported | Not reported |
| Alpine | sqlite | apk | 3.16 | 3.40.1-r1 | Not reported | ALPINE-CVE-2023-7104 | Not reported |
| Alpine | sqlite | apk | 3.17 | 3.40.1-r1 | Not reported | ALPINE-CVE-2023-7104 | Not reported |
| Alpine | sqlite | apk | 3.18 | 3.41.2-r3 | Not reported | ALPINE-CVE-2023-7104 | Not reported |
| Ubuntu | sqlite3 | deb | pro | 3.22.0-1ubuntu0.7+esm1 | Not reported | USN-6566-2 | Not reported |
| Ubuntu | sqlite3 | deb | pro | 3.22.0-1ubuntu0.7+esm1 | Not reported | UBUNTU-CVE-2023-7104 | Not reported |
| Ubuntu | sqlite3 | deb | 20.04 | 3.31.1-4ubuntu0.6 | Not reported | UBUNTU-CVE-2023-7104 | Not reported |
| Ubuntu | sqlite3 | deb | 22.04 | 3.37.2-2ubuntu0.3 | Not reported | UBUNTU-CVE-2023-7104 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-794697.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_0253.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2023-7104]
- [https://osv.dev/vulnerability/ALPINE-CVE-2023-7104]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-7104]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-7104]
- [https://osv.dev/vulnerability/USN-6566-2]
- [https://security-tracker.debian.org/tracker/CVE-2023-7104]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-7104.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0521.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]