cve.bz

CVE-2023-7104 Heap-based Buffer Overflow

7.3 highExploit referenceEPSS 1.5%Fix available

High (7.3). EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-12-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-7104 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-7104?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-7104?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-7104 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sqlite:sqlitethrough 3.43.0
fedoraproject:fedora38
fedoraproject:fedora39

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11sqlite33.34.1-3+deb11u1DLA-3907-1
Debian12sqlite33.40.1-2+deb12u1DEBIAN-CVE-2023-7104
Debian13, 14sqlite33.43.1-1DEBIAN-CVE-2023-7104
Ubuntu20.04:LTSsqlite33.31.1-4ubuntu0.6UBUNTU-CVE-2023-7104 USN-6566-1
Ubuntu22.04:LTSsqlite33.37.2-2ubuntu0.3UBUNTU-CVE-2023-7104 USN-6566-1
UbuntuPro:18.04:LTSsqlite33.22.0-1ubuntu0.7+esm1UBUNTU-CVE-2023-7104 USN-6566-2
Red Hatenterprise_linux:8::appstreamlemon, lemon-debuginfo, sqlite-debuginfo and 4 more0:3.26.0-19.el8_9RHSA-2024:0253
Red Hatenterprise_linux:8::baseossqlite, sqlite-doc, sqlite-libs and 7 more0:3.26.0-19.el8_9RHSA-2024:0253
Red Hatenterprise_linux:9::appstreamsqlite, sqlite-devel, lemon-debuginfo and 6 more0:3.34.1-7.el9_3RHSA-2024:0465
Red Hatenterprise_linux:9::baseossqlite, sqlite-libs, lemon-debuginfo and 6 more0:3.34.1-7.el9_3RHSA-2024:0465
Red Hatrhel_eus:8.6::appstreamlemon, lemon-debuginfo, sqlite-debuginfo and 4 more0:3.26.0-16.el8_6.2RHSA-2024:1107
Red Hatrhel_eus:8.6::baseossqlite, sqlite-doc, sqlite-libs and 7 more0:3.26.0-16.el8_6.2RHSA-2024:1107
Red Hatrhel_eus:8.8::appstreamlemon, lemon-debuginfo, sqlite-debuginfo and 4 more0:3.26.0-18.el8_8.1RHSA-2024:0589
Red Hatrhel_eus:8.8::baseossqlite, sqlite-doc, sqlite-libs and 7 more0:3.26.0-18.el8_8.1RHSA-2024:0589
Red Hatrhel_eus:9.2::appstreamsqlite, sqlite-devel, lemon-debuginfo and 6 more0:3.34.1-6.el9_2.1RHSA-2024:1081
Red Hatrhel_eus:9.2::baseossqlite, sqlite-libs, lemon-debuginfo and 6 more0:3.34.1-6.el9_2.1RHSA-2024:1081
AlmaLinux8lemon, sqlite, sqlite-doc and 2 more3.26.0-19.el8_9ALSA-2024:0253
AlmaLinux9sqlite, sqlite-libs, sqlite-devel3.34.1-7.el9_3ALSA-2024:0465
Rocky Linux8sqlite0:3.26.0-19.el8_9RLSA-2024:0253
Rocky Linux9sqlite0:3.34.1-7.el9_3RLSA-2024:0465
Alpinev3.16, v3.17sqlite3.40.1-r1ALPINE-CVE-2023-7104
Alpinev3.18sqlite3.41.2-r3ALPINE-CVE-2023-7104
Alpinev3.19qt5-qtwebengine5.15.16-r5ALPINE-CVE-2023-7104
Alpinev3.19qt6-qtwebengine6.6.1-r9ALPINE-CVE-2023-7104
Alpinev3.20, v3.21, v3.22 and 1 moreqt5-qtwebengine5.15.16-r7ALPINE-CVE-2023-7104
Alpinev3.20, v3.21, v3.22 and 2 moreqt6-qtwebengine6.6.3-r1ALPINE-CVE-2023-7104
Azure Linux2sqlite3.39.2-3AZL-32297
Alpaquita23sqlite3.40.1-r1BELL-CVE-2023-7104
Alpaquitastreamsqlite3.43.2-r0BELL-CVE-2023-7104
BellSoft Hardened Containers23sqlite3.40.1-r1BELL-CVE-2023-7104
BellSoft Hardened Containersstreamsqlite3.43.2-r0BELL-CVE-2023-7104

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as having a moderate impact because it affects a non-critical component, lacks details on an easy exploitation method, and doesn't indicate severe impacts (such as remote code execution). So the risk is reduced by exploitation complexity and the absence of a clear and severe threat.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8sqlite-0:3.26.0-19.el8_9Fixed 2024-01-15RHSA-2024:0253
Red Hat Enterprise Linux 8.6 Extended Update Supportsqlite-0:3.26.0-16.el8_6.2Fixed 2024-03-05RHSA-2024:1107
Red Hat Enterprise Linux 8.8 Extended Update Supportsqlite-0:3.26.0-18.el8_8.1Fixed 2024-01-30RHSA-2024:0589
Red Hat Enterprise Linux 9sqlite-0:3.34.1-7.el9_3Fixed 2024-01-25RHSA-2024:0465
Red Hat Enterprise Linux 9.2 Extended Update Supportsqlite-0:3.34.1-6.el9_2.1Fixed 2024-03-05RHSA-2024:1081
Red Hat OpenShift Container Platform 4.13openshift4-wincw/windows-machine-config-operator-bundle:v8.1.2-13Fixed 2024-03-25RHSA-2024:1477
Red Hat OpenShift Container Platform 4.13openshift4-wincw/windows-machine-config-rhel9-operator:8.1.2-13Fixed 2024-03-25RHSA-2024:1477
RHODF-4.15-RHEL-9odf4/cephcsi-rhel9:v4.15.0-37Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-core-rhel9:v4.15.0-68Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-rhel9-operator:v4.15.0-39Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-console-rhel9:v4.15.0-58Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-rhel9-operator:v4.15.0-13Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-metrics-exporter-rhel9:v4.15.0-81Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-rhel9-operator:v4.15.0-79Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/odf-cli-rhel9:v4.15.0-22Fixed 2024-03-19RHSA-2024:1383
Red Hat Enterprise Linux 6sqliteNot affected
Red Hat Enterprise Linux 7sqliteNot affected
15 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-7104.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-141-03ABB B&R Automation Studio2026-02-18EnergyABB B&R Automation Studio <6.5ABB B&R Automation Studio 6.5
ICSA-25-100-02Siemens SIDIS Prime2025-04-08Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSIDIS Primenone listed
ICSA-24-319-01Siemens RUGGEDCOM CROSSBOW2024-11-12MultipleRUGGEDCOM CROSSBOW Station Access Controller (SAC)none listed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON