Integer Truncation on SQLite
There exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed the number of columns available. This could lead to a memory corruption issue. We recommend upgrading to version 3.50.2 or above.
- BDU:2025-08786
- GHSA-2m69-gcr7-jv3q
- ALSA-2025:11803
- ALSA-2025:11933
- ALSA-2025:11992
- ALSA-2025:12010
- ALSA-2025:14101
- ALSA-2025:20936
- openSUSE-SU-2025:15368-1
- RHSA-2025:11802
- RHSA-2025:11803
- RHSA-2025:11933
- RHSA-2025:11992
- RHSA-2025:12010
- RHSA-2025:12036
- RHSA-2025:12349
- RHSA-2025:12521
- RHSA-2025:12522
- RHSA-2025:12749
- RHSA-2025:12901
- Published
- Jul 15, 2025
- Updated
- Jun 26, 2026
- EPSS
- 72.5% · 99th percentile
- CWE
- CWE-197
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
50
Plan
Add it to your regular patch cycle.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 22 / 30 · 72.5%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · Google
- 7.2
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/S:N/AU:N/R:U/V:D/RE:L/U:Green
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| sqlite | sqlite | cpe:2.3:a:sqlite:sqlite |
| apple | ipados | cpe:2.3:o:apple:ipados |
| apple | iphone os | cpe:2.3:o:apple:iphone_os |
| apple | macos | cpe:2.3:o:apple:macos |
| apple | tvos | cpe:2.3:o:apple:tvos |
| apple | visionos | cpe:2.3:o:apple:visionos |
| apple | watchos | cpe:2.3:o:apple:watchos |
| siemens | ruggedcom crossbow | cpe:2.3:a:siemens:ruggedcom_crossbow |
| siemens | sidis prime | cpe:2.3:a:siemens:sidis_prime |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple ipadosbefore 26.0.0
- apple iphone osbefore 26.0.0
- apple macosbefore 26.0.0
- apple tvosbefore 26.0.0
- apple visionosbefore 26.0.0
- apple watchosbefore 26.0.0
- siemens ruggedcom crossbowbefore 5.8
- siemens sidis primebefore 4.0.800
- sqlite sqlitebefore 3.50.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Google). Independent of NVD's CPE analysis and usually ahead of it.
SQLite SQLite
- before 3.50.2affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | sqlite | before 3.46.1-5.el10_0 | 3.46.1-5.el10_0 |
| AlmaLinux:10 | sqlite-devel | before 3.46.1-5.el10_0 | 3.46.1-5.el10_0 |
| AlmaLinux:10 | sqlite-libs | before 3.46.1-5.el10_0 | 3.46.1-5.el10_0 |
| AlmaLinux:8 | lemon | before 3.26.0-20.el8_10 | 3.26.0-20.el8_10 |
| AlmaLinux:8 | mingw32-sqlite | before 3.26.0.0-2.el8_10 | 3.26.0.0-2.el8_10 |
| AlmaLinux:8 | mingw32-sqlite-static | before 3.26.0.0-2.el8_10 | 3.26.0.0-2.el8_10 |
| AlmaLinux:8 | mingw64-sqlite | before 3.26.0.0-2.el8_10 | 3.26.0.0-2.el8_10 |
| AlmaLinux:8 | mingw64-sqlite-static | before 3.26.0.0-2.el8_10 | 3.26.0.0-2.el8_10 |
| AlmaLinux:8 | nodejs | before 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
| AlmaLinux:8 | nodejs-devel | before 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
| AlmaLinux:8 | nodejs-docs | before 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
| AlmaLinux:8 | nodejs-libs | before 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
| AlmaLinux:8 | nodejs-nodemon | before 3.0.1-1.module_el8.10.0+3983+391a1a04 | 3.0.1-1.module_el8.10.0+3983+391a1a04 |
| AlmaLinux:8 | nodejs-packaging | before 2021.06-4.module_el8.10.0+4006+3c416519 | 2021.06-4.module_el8.10.0+4006+3c416519 |
| AlmaLinux:8 | nodejs-packaging-bundler | before 2021.06-4.module_el8.10.0+3961+6a788e57 | 2021.06-4.module_el8.10.0+3961+6a788e57 |
| AlmaLinux:8 | npm | before 1:10.9.2-1.22.16.0.2.module_el8.10.0+4028+97ddca84 | 1:10.9.2-1.22.16.0.2.module_el8.10.0+4028+97ddca84 |
| AlmaLinux:8 | sqlite | before 3.26.0-20.el8_10 | 3.26.0-20.el8_10 |
| AlmaLinux:8 | sqlite-devel | before 3.26.0-20.el8_10 | 3.26.0-20.el8_10 |
| AlmaLinux:8 | sqlite-doc | before 3.26.0-20.el8_10 | 3.26.0-20.el8_10 |
| AlmaLinux:8 | sqlite-libs | before 3.26.0-20.el8_10 | 3.26.0-20.el8_10 |
| AlmaLinux:8 | v8-12.4-devel | before 3:12.4.254.21-1.22.16.0.2.module_el8.10.0+4028+97ddca84 | 3:12.4.254.21-1.22.16.0.2.module_el8.10.0+4028+97ddca84 |
| AlmaLinux:9 | sqlite | before 3.34.1-8.el9_6 | 3.34.1-8.el9_6 |
| AlmaLinux:9 | sqlite | before 3.34.1-9.el9_7 | 3.34.1-9.el9_7 |
+96
Same product
sqlite: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-8457SQLite3 from 3.6.0 to and including 3.27.2 is vulnerable to heap out-of-bound read in the rtreenode() function when handling invalid rtree t53Plan
- CVE-2015-5895Multiple unspecified vulnerabilities in SQLite before 3.8.10.2, as used in Apple iOS before 9, have unknown impact and attack vectors.43Plan
- CVE-2017-10989The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles undersized RTree blob42Plan
- CVE-2020-11656In SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compo41Plan
- CVE-2019-19646pragma.c in SQLite through 3.30.1 mishandles NOT NULL in an integrity_check PRAGMA command in certain cases of generated columns.41Plan
- CVE-2019-19317lookupName in resolve.c in SQLite 3.30.1 omits bits from the colUsed bitmask in the case of a generated column, which allows attackers to ca40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| SQLite SQLite | 3.50.2 | Vendor (CNA) |
| azl3 sqlite 3.44.0-2 on Azure Linux 3.0 | 3.44.0-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 sqlite 3.39.2-3 on CBL Mariner 2.0 | 3.39.2-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 sqlite 3.39.2-4 on CBL Mariner 2.0 | 3.39.2-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) | 15.9.82 | Microsoft (MSRC) |
| Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) | 16.11.56 · Release Notes | Microsoft (MSRC) |
| Microsoft Visual Studio 2022 version 17.12 | 17.12.20 · Release Notes | Microsoft (MSRC) |
| Microsoft Visual Studio 2022 version 17.14 | 17.14.32 · Release Notes | Microsoft (MSRC) |
| Microsoft Visual Studio 2026 version 18.5 | 18.5.3 · Release Notes | Microsoft (MSRC) |
| Windows 10 Version 1607 for 32-bit Systems | 10.0.14393.8783 · KB5073722 | Microsoft (MSRC) |
| Windows 10 Version 1607 for x64-based Systems | 10.0.14393.8783 · KB5073722 | Microsoft (MSRC) |
| Windows 10 Version 1809 for 32-bit Systems | 10.0.17763.8276 · KB5073723 | Microsoft (MSRC) |
| Windows 10 Version 1809 for x64-based Systems | 10.0.17763.8276 · KB5073723 | Microsoft (MSRC) |
| Windows 10 Version 21H2 for 32-bit Systems | 10.0.19044.6809 · KB5073724 | Microsoft (MSRC) |
| Windows 10 Version 21H2 for ARM64-based Systems | 10.0.19044.6809 · KB5073724 | Microsoft (MSRC) |
| Windows 10 Version 21H2 for x64-based Systems | 10.0.19044.6809 · KB5073724 | Microsoft (MSRC) |
| Windows 10 Version 22H2 for 32-bit Systems | 10.0.19045.6809 · KB5073724 | Microsoft (MSRC) |
| Windows 10 Version 22H2 for ARM64-based Systems | 10.0.19045.6809 · KB5073724 | Microsoft (MSRC) |
| Windows 10 Version 22H2 for x64-based Systems | 10.0.19045.6809 · KB5073724 | Microsoft (MSRC) |
| Windows 11 Version 23H2 for ARM64-based Systems | 10.0.22631.6491 · KB5073455 | Microsoft (MSRC) |
| Windows 11 Version 23H2 for x64-based Systems | 10.0.22631.6491 · KB5073455 | Microsoft (MSRC) |
| Windows 11 Version 24H2 for ARM64-based Systems | 10.0.26100.7623 · KB5074109 | Microsoft (MSRC) |
| Windows 11 Version 24H2 for x64-based Systems | 10.0.26100.7623 · KB5074109 | Microsoft (MSRC) |
| Windows 11 Version 25H2 for ARM64-based Systems | 10.0.26200.7623 · KB5074109 | Microsoft (MSRC) |
| Windows 11 Version 25H2 for x64-based Systems | 10.0.26200.7623 · KB5074109 | Microsoft (MSRC) |
| Windows Server 2016 | 10.0.14393.8783 · KB5073722 | Microsoft (MSRC) |
| Windows Server 2016 (Server Core installation) | 10.0.14393.8783 · KB5073722 | Microsoft (MSRC) |
| Windows Server 2019 | 10.0.17763.8276 · KB5073723 | Microsoft (MSRC) |
| Windows Server 2019 (Server Core installation) | 10.0.17763.8276 · KB5073723 | Microsoft (MSRC) |
| Windows Server 2022 | 10.0.20348.4648 · KB5073457 | Microsoft (MSRC) |
+37
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2026-04-08 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+267 d
- TodaySep 30, 2026+442 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Vlad StolyarovGoogle's Threat Analysis Group, with assistance from Google Big Sleepfinder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- N
Weakness class (CWE)
CWE-197 · Numeric Truncation ErrorCVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:D/RE:L/U:Green
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.sqlite.org/src/info/5508b56fd24016c13981ec280ecdd833007c9d8dd595edb295b984c2b487b5c8
- seclists.org/fulldisclosure/2025/Sep/49
- seclists.org/fulldisclosure/2025/Sep/53
- seclists.org/fulldisclosure/2025/Sep/56
- seclists.org/fulldisclosure/2025/Sep/57
- seclists.org/fulldisclosure/2025/Sep/58
- www.openwall.com/lists/oss-security/2025/09/06/1
- cert-portal.siemens.com/productcert/html/ssa-225816.html
- cert-portal.siemens.com/productcert/html/ssa-485750.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.