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
120.0.6099.224-1~deb11u1150.0.7871.100-1~deb12u1150.0.7871.124-1~deb12u1150.0.7871.100-1~deb13u1150.0.7871.114-1~deb13u1150.0.7871.114-1150.0.7871.124-1
debian/sqlite3
3.34.1-33.34.1-3+deb11u13.40.1-2+deb12u23.46.1-7+deb13u13.46.1-93.53.3-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 120.0.6099.224-1~deb11u1Fixed in 150.0.7871.100-1~deb12u1Fixed in 150.0.7871.124-1~deb12u1Fixed in 150.0.7871.100-1~deb13u1Fixed in 150.0.7871.114-1~deb13u1Fixed in 150.0.7871.114-1Fixed in 150.0.7871.124-1
  2. Upgrade

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

    Fixed in 3.34.1-3Fixed in 3.34.1-3+deb11u1Fixed in 3.40.1-2+deb12u2Fixed in 3.46.1-7+deb13u1Fixed in 3.46.1-9Fixed in 3.53.3-1
  3. Upgrade

    Upgrade sqlite/sqlite to a version that resolves this vulnerability.

    Fixed in 3.30.1Patch 396afe6f6aa90a31303c183e11b2b2d4b7956b35
  4. Compensating control

    Mitigate the denial-of-service risk by preventing remote attackers from being able to send specially-crafted requests that trigger the SQLite NULL pointer dereference in lattenSubquery/SELECT DISTINCT + LEFT JOIN processing (e.g., restrict/limit access to the endpoint that performs queries).

Event History

Dec 24, 2019
CVE Published
via MITRE·03:43 PM
Data Sourced
via MITRE·03:43 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 8, 2020
Data Sourced
via Red Hat·08:53 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:25 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·11:05 PM
RemedyDescriptionSeverityAffected Software
Jul 16, 2026
Data Sourced
via Debian·04:14 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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