# CVE-2023-7104: SQLite SQLite3 make alltest sqlite3session.c sessionReadRecord heap-based overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-12-25 · Modified: 2026-10-14
- Aliases: ALPINE-CVE-2023-7104, RHSA-2024:0253, RHSA-2024:0465, RHSA-2024:0589, RHSA-2024:1081, RHSA-2024:1107, UBUNTU-CVE-2023-7104, USN-6566-2, DEBIAN-CVE-2023-7104
- Record: https://cvemate.com/vulnerability/CVE-2023-7104 · JSON: https://cvemate.com/vulnerability/CVE-2023-7104/json

## Description

```text
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.
```

## Signals

- CVSS: 7.3 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- EPSS: 1.464%, percentile 74.532%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine qt5-qtwebengine (Alpine Linux): \< 5.15.16-r5 \| \< 5.15.16-r7
- alpine qt6-qtwebengine (Alpine Linux): \< 6.6.1-r9 \| \< 6.6.3-r1
- alpine sqlite (Alpine Linux): \< 3.40.1-r1 \| \< 3.41.2-r3
- debian sqlite3 (Debian): \< 3.40.1-2+deb12u1 \| \< 3.43.1-1
- ubuntu sqlite3 (Ubuntu): \< 3.22.0-1ubuntu0.7+esm1 \| \< 3.31.1-4ubuntu0.6 \| \< 3.37.2-2ubuntu0.3
- fedoraproject fedora: 38 \| 39
- redhat lemon (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat lemon-debuginfo (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.34.1-7.el9\_3 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.34.1-6.el9\_2.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.34.1-7.el9\_3 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.34.1-6.el9\_2.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite-analyzer-debuginfo (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.34.1-7.el9\_3 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.34.1-6.el9\_2.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite-debuginfo (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.34.1-7.el9\_3 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.34.1-6.el9\_2.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite-debugsource (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.34.1-7.el9\_3 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.34.1-6.el9\_2.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite-devel (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.34.1-7.el9\_3 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.34.1-6.el9\_2.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite-doc (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite-libs (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.34.1-7.el9\_3 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.34.1-6.el9\_2.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite-libs-debuginfo (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.34.1-7.el9\_3 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.34.1-6.el9\_2.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite-tcl-debuginfo (Red Hat): \< 0:3.26.0-19.el8\_9 \| \< 0:3.34.1-7.el9\_3 \| \< 0:3.26.0-18.el8\_8.1 \| \< 0:3.34.1-6.el9\_2.1 \| \< 0:3.26.0-16.el8\_6.2
- redhat sqlite-tools-debuginfo (Red Hat): \< 0:3.34.1-7.el9\_3 \| \< 0:3.34.1-6.el9\_2.1
- sqlite sqlite: ≤ 3.43.0
- sqlite sqlite3: 3.0 \| 3.1 \| 3.2 \| 3.3 \| 3.4 \| 3.5 \| 3.6 \| 3.7 \| 3.8 \| 3.9 \| 3.10 \| 3.11 \| 3.12 \| 3.13 \| 3.14 \| 3.15 \| 3.16 \| 3.17 \| 3.18 \| 3.19 \| 3.20 \| 3.21 \| 3.22 \| 3.23 \| 3.24 \| 3.25 \| 3.26 \| 3.27 \| 3.28 \| 3.29 \| 3.30 \| 3.31 \| 3.32 \| 3.33 \| 3.34 \| 3.35 \| 3.36 \| 3.37 \| 3.38 \| 3.39 \| 3.40 \| 3.41 \| 3.42 \| 3.43

## References (first 20 of 32)

- <https://vuldb.com/?id.248999>
- <https://vuldb.com/?ctiid.248999>
- <https://sqlite.org/forum/forumpost/5bcbf4571c>
- <https://sqlite.org/src/info/0e4e7a05c4204b47>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D6C2HN4T2S6GYNTAUXLH45LQZHK7QPHP/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AYONA2XSNFMXLAW4IHLFI5UVV3QRNG5K/>
- <https://security.netapp.com/advisory/ntap-20240112-0008/>
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00050.html>
- <https://security.alpinelinux.org/vuln/CVE-2023-7104>
- <https://access.redhat.com/errata/RHSA-2024:0253>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2256194>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_0253.json>
- <https://access.redhat.com/security/cve/CVE-2023-7104>
- <https://www.cve.org/CVERecord?id=CVE-2023-7104>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-7104>
- <https://access.redhat.com/errata/RHSA-2024:0465>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_0465.json>
- <https://access.redhat.com/errata/RHSA-2024:0589>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_0589.json>

---

Data as of 2026-12-05T09:08:54.936Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
