Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-7104 EUVD-2023-59288GHSA-f92h-rw3f-8j92

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

Published Dec 25, 2023 · Updated Oct 14, 2026 · Assigned by VulDB

Description

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.

Affected products

VendorProductAffectedFixed
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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sqlite3 3.43.1-1 —
Debian 13 sqlite3 3.43.1-1 —
Debian 12 sqlite3 3.40.1-2+deb12u1 —
Debian 11 sqlite3 3.34.1-3+deb11u1 DLA-3907-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS sqlite3 3.37.2-2ubuntu0.3 USN-6566-1
Ubuntu 20.04 LTS sqlite3 3.31.1-4ubuntu0.6 USN-6566-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS sqlite3 3.22.0-1ubuntu0.7+esm1 USN-6566-2
ReleasePackageFixed inAdvisory
RHEL 9 sqlite +2 3.34.1-7.el9_3 RHSA-2024:0465
RHEL 8 lemon +4 3.26.0-19.el8_9 RHSA-2024:0253
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS sqlite +2 3.34.1-6.el9_2.1 RHSA-2024:1081
RHEL 8.8 EUS lemon +4 3.26.0-18.el8_8.1 RHSA-2024:0589
RHEL 8.6 EUS lemon +4 3.26.0-16.el8_6.2 RHSA-2024:1107

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 sqlite +2 3.34.1-7.el9_3 ALSA-2024:0465
AlmaLinux 8 lemon +4 3.26.0-19.el8_9 ALSA-2024:0253

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 sqlite 3.34.1-7.el9_3 RLSA-2024:0465
Rocky Linux 8 sqlite 3.26.0-19.el8_9 RLSA-2024:0253
ReleasePackageFixed inAdvisory
Alpine v3.24 qt6-qtwebengine 6.6.3-r1 —
Alpine v3.23 qt5-qtwebengine 5.15.16-r7 —
Alpine v3.23 qt6-qtwebengine 6.6.3-r1 —
Alpine v3.22 qt5-qtwebengine 5.15.16-r7 —
Alpine v3.22 qt6-qtwebengine 6.6.3-r1 —
Alpine v3.21 qt5-qtwebengine 5.15.16-r7 —
Alpine v3.21 qt6-qtwebengine 6.6.3-r1 —
Alpine v3.20 qt5-qtwebengine 5.15.16-r7 —
Alpine v3.20 qt6-qtwebengine 6.6.3-r1 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 qt5-qtwebengine 5.15.16-r5 —
Alpine v3.19 qt6-qtwebengine 6.6.1-r9 —
Alpine v3.18 sqlite 3.41.2-r3 —
Alpine v3.17 sqlite 3.40.1-r1 —
Alpine v3.16 sqlite 3.40.1-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 lemon +7 3.40.0-1.amzn2023.0.4 ALAS2023-2024-490
Amazon Linux 2023 nspr +1 4.35.0-5.amzn2023.0.5 ALAS2023-2024-507
Amazon Linux 2023 nss +10 3.90.0-3.amzn2023.0.5 ALAS2023-2024-507
Amazon Linux 2023 polkit +3 0.117-11.amzn2023.0.1 ALAS2023-2024-508
Amazon Linux 2 nss +4 3.90.0-2.amzn2.0.2 ALAS2-2024-2442
Amazon Linux 2 thunderbird 115.6.0-1.amzn2.0.2 ALAS2-2024-2417

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) sqlite 3.39.2-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 sqlite +2 3.34.1-7.el9_3 ELSA-2024-0465
Oracle Linux 8 lemon +4 3.26.0-19.0.1.el8_9 ELSA-2024-0253

Advisories 39

References