CVE-2019-16168
published medium CVSS 3.1 · 6.5sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2020-1387 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | mingw-binutils-generic | Advisory build | 2.30-3.el8 | ALSA-2021:1968 |
| Alpine Linux | v3.10 | sqlite | Fixed | 3.28.0-r1 | Package fix record |
| Debian | stretch | sqlite3 | Advisory build | 3.16.2-5+deb9u2 | DLA-2340-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Oracle Linux | 8 | lemonaarch64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Red Hat Enterprise Linux | RHEL-8 | lemonaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| SUSE / openSUSE | SLE-12-SP2 | libsqlite3-0x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| AlmaLinux | 8 | mingw-filesystem-base | Advisory build | 104-2.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw32-binutils | Advisory build | 2.30-3.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw32-bzip2 | Advisory build | 1.0.6-14.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw32-bzip2-static | Advisory build | 1.0.6-14.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw32-filesystem | Advisory build | 104-2.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw32-sqlite | Advisory build | 3.26.0.0-1.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw32-sqlite-static | Advisory build | 3.26.0.0-1.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw64-binutils | Advisory build | 2.30-3.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw64-bzip2 | Advisory build | 1.0.6-14.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw64-bzip2-static | Advisory build | 1.0.6-14.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw64-filesystem | Advisory build | 104-2.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw64-sqlite | Advisory build | 3.26.0.0-1.el8 | ALSA-2021:1968 |
| AlmaLinux | 8 | mingw64-sqlite-static | Advisory build | 3.26.0.0-1.el8 | ALSA-2021:1968 |
| Alpine Linux | v3.8 | sqlite | Fixed | 3.25.3-r2 | Package fix record |
| Alpine Linux | v3.9 | sqlite | Fixed | 3.28.0-r1 | Package fix record |
| Oracle Linux | 8 | lemonx86_64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Oracle Linux | 8 | sqliteaarch64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Oracle Linux | 8 | sqlitex86_64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Oracle Linux | 8 | sqlite-develaarch64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Oracle Linux | 8 | sqlite-develx86_64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Oracle Linux | 8 | sqlite-docaarch64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Oracle Linux | 8 | sqlite-docx86_64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Oracle Linux | 8 | sqlite-libsaarch64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Oracle Linux | 8 | sqlite-libsx86_64 | Advisory build | 0:3.26.0-11.el8 | ELSA-2020-4442 |
| Red Hat Enterprise Linux | RHEL-8 | lemonppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | lemons390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | lemonx86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfoaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfoi686 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfoppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfos390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfox86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqliteaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlitei686 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqliteppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlites390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlitesrc | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlitex86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfoaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfoi686 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfoppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfos390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfox86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfoaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfoi686 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfoppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfos390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfox86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsourceaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsourcei686 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsourceppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsources390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsourcex86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-develaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-develi686 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-develppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-devels390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-develx86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-docnoarch | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libsaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libsi686 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libsppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libss390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libsx86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfoaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfoi686 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfoppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfos390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfox86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfoaarch64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfoi686 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfoppc64le | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfos390x | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfox86_64 | Advisory build | 3.26.0-11.el8 | RHSA-2020:4442 |
| SUSE / openSUSE | SLE-12-SP2 | libsqlite3-0-32bitx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP2 | sqlite3x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP2 | sqlite3-develx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0aarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0ppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0s390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0-32bits390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0-32bitx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3aarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3ppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3s390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3-develaarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3-develppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3-devels390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3-develx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | libsqlite3-0aarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | libsqlite3-0aarch64 | Advisory build | 3.8.10.2-9.12.1 | SUSE-SU-2019:2536-1 |
| SUSE / openSUSE | SLE-12-SP4 | libsqlite3-0ppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field, aka a "severe division by zero in the query planner."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- n/a
- CWE-369 CWE-369 Divide By Zero
References
18- openSUSE-SU-2019:2298 http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00032.html
- openSUSE-SU-2019:2300 http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00033.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://kc.mcafee.com/corporate/index?page=content&id=SB10365
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2340-1] sqlite3 security update https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html
- FEDORA-2019-b1636e0b70 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XZARJHJJDBHI7CE5PZEBXS5HKK6HXKW2/
- GLSA-202003-16 https://security.gentoo.org/glsa/202003-16
- https://security.netapp.com/advisory/ntap-20190926-0003/
- https://security.netapp.com/advisory/ntap-20200122-0003/
- USN-4205-1 https://usn.ubuntu.com/4205-1/
- https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg116312.html
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://www.sqlite.org/src/info/e4598ecbdd18bd82945f6029013296690e719a62
- https://www.sqlite.org/src/timeline?c=98357d8c1263920b
- https://www.tenable.com/security/tns-2021-08
- https://www.tenable.com/security/tns-2021-11
- https://www.tenable.com/security/tns-2021-14
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0d9ae06497a076ca00b7ef053085e6ff6a61f75b56e0f3111a2da6735e91163e
- Ingested
- 14 Oct 2026, 09:52:31 UTC
- Source record
- Official CVE record