Skip to content
Fencer Vulns
medium 5.5

CVE-2023-7104 json

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

published 2023-12-25 2 y ago modified 2026-10-14 25 d ago also BIT-sqlite-2023-7104 , EUVD-2023-59288

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami sqlite 3.43.1
  • Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC) V5.6
  • Siemens SIDIS Prime V4.0.700
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1
  • sqlite3 Debian 12 3.40.1-2+deb12u1
  • sqlite3 Debian 14, Debian 13 3.43.1-1

debian advisories DEBIAN-CVE-2023-7104

  • sqlite3 Ubuntu 20.04 LTS 3.31.1-4ubuntu0.6
  • sqlite3 Ubuntu 22.04 LTS 3.37.2-2ubuntu0.3
  • sqlite3 Ubuntu Pro 18.04 LTS 3.22.0-1ubuntu0.7+esm1

ubuntu advisories UBUNTU-CVE-2023-7104

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • sqlite RHEL 8 3.26.0-19.el8_9
  • lemon RHEL 8 3.26.0-19.el8_9
  • sqlite-libs RHEL 8 3.26.0-19.el8_9
  • sqlite RHEL 9 3.34.1-7.el9_3
  • sqlite-libs RHEL 9 3.34.1-7.el9_3
  • sqlite RHEL 8.8 EUS 3.26.0-18.el8_8.1
  • lemon RHEL 8.8 EUS 3.26.0-18.el8_8.1
  • sqlite-libs RHEL 8.8 EUS 3.26.0-18.el8_8.1

red hat advisories RHSA-2024:0589RHSA-2024:1107RHSA-2024:1081RHSA-2024:0253RHSA-2024:0465

  • sqlite AlmaLinux 9 3.34.1-7.el9_3
  • sqlite-libs AlmaLinux 9 3.34.1-7.el9_3
  • sqlite AlmaLinux 8 3.26.0-19.el8_9
  • lemon AlmaLinux 8 3.26.0-19.el8_9
  • sqlite-libs AlmaLinux 8 3.26.0-19.el8_9

almalinux advisories ALSA-2024:0465ALSA-2024:0253

  • sqlite Rocky Linux 9 3.34.1-7.el9_3
  • sqlite Rocky Linux 8 3.26.0-19.el8_9

rocky linux advisories RLSA-2024:0465RLSA-2024:0253

  • sqlite Alpine 3.17, Alpine 3.16 3.40.1-r1
  • sqlite Alpine 3.18 3.41.2-r3
  • qt5-qtwebengine Alpine 3.19 5.15.16-r5
  • qt5-qtwebengine Alpine 3.23, Alpine 3.22, Alpine 3.21 +1 more 5.15.16-r7
  • qt6-qtwebengine Alpine 3.19 6.6.1-r9
  • qt6-qtwebengine Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 6.6.3-r1

alpine advisories ALPINE-CVE-2023-7104

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • sqlite CBL-Mariner 2.0 3.39.2-3

azure linux advisories AZL-32297

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-7104 updated cvss 7.3

sqlite: heap-buffer-overflow at sessionfuzz

  • Red Hat Enterprise Linux AppStream (v. 8) lemon 3.26.0-19.el8_9
    fixed: vendor fix RHSA-2024:0253
  • Red Hat Enterprise Linux AppStream (v. 9) sqlite 3.34.1-7.el9_3
    fixed: vendor fix RHSA-2024:0465
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) lemon 3.26.0-16.el8_6.2
    fixed: vendor fix RHSA-2024:1107
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) lemon 3.26.0-18.el8_8.1
    fixed: vendor fix RHSA-2024:0589
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) sqlite 3.34.1-6.el9_2.1
    fixed: vendor fix RHSA-2024:1081
  • Red Hat Enterprise Linux BaseOS (v. 8) sqlite 3.26.0-19.el8_9, sqlite-libs 3.26.0-19.el8_9
    fixed: vendor fix RHSA-2024:0253
  • Red Hat Enterprise Linux BaseOS (v. 9) sqlite 3.34.1-7.el9_3, sqlite-libs 3.34.1-7.el9_3
    fixed: vendor fix RHSA-2024:0465
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) sqlite 3.26.0-16.el8_6.2, sqlite-libs 3.26.0-16.el8_6.2
    fixed: vendor fix RHSA-2024:1107
show 5 more
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) sqlite 3.26.0-18.el8_8.1, sqlite-libs 3.26.0-18.el8_8.1
    fixed: vendor fix RHSA-2024:0589
  • Red Hat Enterprise Linux BaseOS EUS (v.9.2) sqlite 3.34.1-6.el9_2.1, sqlite-libs 3.34.1-6.el9_2.1
    fixed: vendor fix RHSA-2024:1081
  • Red Hat OpenShift Container Platform 4.13 openshift4-wincw/windows-machine-config-rhel9-operator 8.1.2-13, openshift4-wincw/windows-machine-config-operator-bundle v8.1.2-13
    fixed: vendor fix RHSA-2024:1477
  • Red Hat RHODF 4.15 for RHEL 9 odf4/cephcsi-rhel9 v4.15.0-37, odf4/odf-cli-rhel9 v4.15.0-22, odf4/mcg-core-rhel9 v4.15.0-68, odf4/odf-console-rhel9 v4.15.0-57, odf4/mcg-rhel9-operator v4.15.0-39, odf4/ocs-rhel9-operator v4.15.0-79, +20 more
    fixed: vendor fix RHSA-2024:1383
  • Red Hat Enterprise Linux 6 lemon, sqlite, sqlite-tcl Red Hat Enterprise Linux 7 lemon, sqlite, sqlite-tcl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-141-03 updated cvss 7.3

ABB B&R Automation Studio

  • ABB B&R Automation Studio <6.5
    affected: vendor fix, mitigation
  • ABB B&R Automation Studio 6.5
    fixed

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-319-01 updated cvss 5.5

Siemens RUGGEDCOM CROSSBOW

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-25-100-02 updated cvss 5.5

Siemens SIDIS Prime

  • Siemens SIDIS Prime <V4.0.700
    affected: fixed in V4.0.700

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-166-11 updated cvss 5.5

Siemens SIMATIC S7-1500 TM MFP Linux Kernel

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
10 mo ago

Exploit prediction

1.46% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • sqlite.org https://sqlite.org/forum/forumpost/5bcbf4571c referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.5 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CNA 3.0 5.5 CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CNA 2.0 5.2 AV:A/AC:L/Au:S/C:P/I:P/A:P
NVD 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
OSV 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected packages

ecosystem package affected fixed in
bitnami sqlite
<3.43.1
3.43.1

Affected products

  • SQLite SQLite3
  • Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC)
  • Siemens SIDIS Prime
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.