CVE-2019-19923: Null Pointer Dereference

Published Dec 24, 2019
·
Updated

flattenSubquery in select.c in SQLite 3.30.1 mishandles certain uses of SELECT DISTINCT involving a LEFT JOIN in which the right-hand side is a view. This can cause a NULL pointer dereference (or incorrect results).

Other sources

SQLite is vulnerable to a denial of service, caused by a NULL pointer dereference flaw in the lattenSubquery function in select.c. By sending a specially-crafted request with the use of SELECT DISTINCT involving a LEFT JOIN, a remote attacker could exploit this vulnerability to cause a denial of service condition.

— IBM

Affected Software

18 affected componentsFixes available
IBM Data Risk Manager<=2.0.6
SQLite SQLite=3.30.1
Siemens Sinec Infrastructure Network Services<1.0.1.1
Oracle MySQL Workbench<=8.0.19
Debian Debian Linux=9.0
Debian Debian Linux=10.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Workstation=6.0
SUSE Package Hub
SUSE Linux Enterprise=12.0
openSUSE Backports SLE=15.0-sp1
openSUSE Leap=15.1
NetApp Cloud Backup
All of the following
SUSE Package Hub
SUSE Linux Enterprise=12.0
debian/chromium
80.0.3987.132-1~deb10u180.0.3987.106-1
debian/sqlite3
3.27.2-3+deb10u13.30.1+fossil191229-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/chromium to a version that resolves this vulnerability.

    Fixed in 80.0.3987.132-1~deb10u1Fixed in 80.0.3987.106-1
  2. Upgrade

    Upgrade debian/sqlite3 to a version that resolves this vulnerability.

    Fixed in 3.27.2-3+deb10u1Fixed in 3.30.1+fossil191229-1
  3. Upgrade

    Upgrade SQLite to a version that resolves this vulnerability.

    Patch 396afe6f6aa90a31303c183e11b2b2d4b7956b35

Event History

Dec 24, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·03:43 PM
Data Sourced
via MITRE·03:43 PM
Description
Apr 28, 2020
Data Sourced
via Red Hat·03:55 PM
DescriptionSeverityAffected Software
Aug 13, 2021
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Apr 15, 2022
Data Sourced
04:18 PM
Weakness
Data Sourced
via NVD·04:18 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
04:18 PM
Affected Software
Nov 21, 2024
Updated
via NVD·04:35 AM
RemedyAffected Software
Aug 25, 2025
Updated
via Ubuntu·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2019-19923?

CVE-2019-19923 is a vulnerability in SQLite that allows a remote attacker to cause a denial of service.

2

How does CVE-2019-19923 impact SQLite?

CVE-2019-19923 affects SQLite by causing a NULL pointer dereference flaw in the flattenSubquery function in select.c.

3

What is the severity of CVE-2019-19923?

CVE-2019-19923 has a severity rating of high, with a CVSS score of 7.5.

4

Which software versions are affected by CVE-2019-19923?

The affected software versions of CVE-2019-19923 include IBM Data Risk Manager 2.0.6, sqlite3 3.22.0-1ubuntu0.3, and sqlite3 3.29.0-2ubuntu0.2.

5

How can I fix CVE-2019-19923?

To fix CVE-2019-19923, you can apply the patch provided by IBM for Data Risk Manager or update to a fixed version of sqlite3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203