CVEfocus › CVE database › CVE-2023-7104

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

CVSS 5.5 MediumEPSS 1.6% (higher than 76% of CVEs)Published 2023-12-25Updated 2026-10-14Assigner: VulDB

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.

CWE-122

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

37Fixed
5Fix pending
15Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04sqlite3Not affected
vulnerable_code_not_present
Ubuntu 25.10sqlite3Not affected
vulnerable_code_not_present
Ubuntu 24.04sqlite3Not affected
vulnerable_code_not_present
Ubuntu 22.04sqliteNot affected
vulnerable_code_not_present
Ubuntu 22.04sqlite3Fixed3.37.2-2ubuntu0.3UBUNTU-CVE-2023-7104
Ubuntu 20.04sqliteNot affected
vulnerable_code_not_present
Ubuntu 20.04sqlite3Fixed3.31.1-4ubuntu0.6UBUNTU-CVE-2023-7104
Ubuntu 18.04sqliteFix pending
Ubuntu 18.04sqlite3Fix pending3.22.0-1ubuntu0.7+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-7104
Ubuntu 16.04sqliteFix pending
Ubuntu 16.04sqlite3Fix pending
Ubuntu 14.04sqliteFix pending
Debian 14sqlite3Fixed3.43.1-1DEBIAN-CVE-2023-7104
Debian 13sqlite3Fixed3.43.1-1DEBIAN-CVE-2023-7104
Debian 12sqlite3Fixed3.40.1-2+deb12u1DEBIAN-CVE-2023-7104
Red Hat Enterprise Linux 9sqliteFixed0:3.34.1-7.el9_3RHSA-2024:0465
Red Hat Enterprise Linux 9sqlite-develFixed0:3.34.1-7.el9_3RHSA-2024:0465
Red Hat Enterprise Linux 9sqlite-libsFixed0:3.34.1-7.el9_3RHSA-2024:0465
Red Hat Enterprise Linux 8lemonFixed0:3.26.0-19.el8_9RHSA-2024:0253
Red Hat Enterprise Linux 8sqliteFixed0:3.26.0-19.el8_9RHSA-2024:0253
Red Hat Enterprise Linux 8sqlite-develFixed0:3.26.0-19.el8_9RHSA-2024:0253
Red Hat Enterprise Linux 8sqlite-docFixed0:3.26.0-19.el8_9RHSA-2024:0253
Red Hat Enterprise Linux 8sqlite-libsFixed0:3.26.0-19.el8_9RHSA-2024:0253
Red Hat Enterprise Linux 7lemonNot affected
Red Hat Enterprise Linux 7sqliteNot affected
Red Hat Enterprise Linux 7sqlite-develNot affected
Red Hat Enterprise Linux 7sqlite-docNot affected
Red Hat Enterprise Linux 7sqlite-tclNot affected
Red Hat Enterprise Linux 6lemonNot affected
Red Hat Enterprise Linux 6sqliteNot affected
Red Hat Enterprise Linux 6sqlite-develNot affected
Red Hat Enterprise Linux 6sqlite-docNot affected
Red Hat Enterprise Linux 6sqlite-tclNot affected
AlmaLinux 9sqliteFixed3.34.1-7.el9_3ALSA-2024:0465
AlmaLinux 9sqlite-develFixed3.34.1-7.el9_3ALSA-2024:0465
AlmaLinux 9sqlite-libsFixed3.34.1-7.el9_3ALSA-2024:0465
AlmaLinux 8lemonFixed3.26.0-19.el8_9ALSA-2024:0253
AlmaLinux 8sqliteFixed3.26.0-19.el8_9ALSA-2024:0253
AlmaLinux 8sqlite-develFixed3.26.0-19.el8_9ALSA-2024:0253
AlmaLinux 8sqlite-docFixed3.26.0-19.el8_9ALSA-2024:0253
AlmaLinux 8sqlite-libsFixed3.26.0-19.el8_9ALSA-2024:0253
Rocky Linux 9sqliteFixed0:3.34.1-7.el9_3RLSA-2024:0465
Rocky Linux 8sqliteFixed0:3.26.0-19.el8_9RLSA-2024:0253
Alpine Linux 3.24qt6-qtwebengineFixed6.6.3-r1ALPINE-CVE-2023-7104
Alpine Linux 3.23qt5-qtwebengineFixed5.15.16-r7ALPINE-CVE-2023-7104
Alpine Linux 3.23qt6-qtwebengineFixed6.6.3-r1ALPINE-CVE-2023-7104
Alpine Linux 3.22qt5-qtwebengineFixed5.15.16-r7ALPINE-CVE-2023-7104
Alpine Linux 3.22qt6-qtwebengineFixed6.6.3-r1ALPINE-CVE-2023-7104
Alpine Linux 3.21qt5-qtwebengineFixed5.15.16-r7ALPINE-CVE-2023-7104
Alpine Linux 3.21qt6-qtwebengineFixed6.6.3-r1ALPINE-CVE-2023-7104
Alpine Linux 3.20qt5-qtwebengineFixed5.15.16-r7ALPINE-CVE-2023-7104
Alpine Linux 3.20qt6-qtwebengineFixed6.6.3-r1ALPINE-CVE-2023-7104
Alpine Linux 3.19qt5-qtwebengineFixed5.15.16-r5ALPINE-CVE-2023-7104
Alpine Linux 3.19qt6-qtwebengineFixed6.6.1-r9ALPINE-CVE-2023-7104
Alpine Linux 3.18sqliteFixed3.41.2-r3ALPINE-CVE-2023-7104
Alpine Linux 3.17sqliteFixed3.40.1-r1ALPINE-CVE-2023-7104
Alpine Linux 3.16sqliteFixed3.40.1-r1ALPINE-CVE-2023-7104

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.