SecurityContext

CVE-2018-8740: SQLite - NULL Pointer Dereference

  • Cve: CVE-2018-8740
  • Name: SQLite - NULL Pointer Dereference
  • Description: In SQLite through 3.22.0, databases whose schema is corrupted using a CREATE TABLE AS statement could cause a NULL pointer dereference, related to build.c and prepare.c.
  • Impact: Attackers can cause application crashes or potential arbitrary code execution through NULL pointer dereference.
  • Remediation: Update to the latest version of SQLite beyond 3.22.0.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirements: Exploit requires schema corruption
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.07966
  • Epss percentile: 0.94886
  • Assignee: [email protected]
  • Published at: 2018-03-17T00:29:00Z
  • Age in days: 3174
  • Modified at: 2026-06-17T02:05:19Z
  • Patch available: yes
  • References total: 14
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-8740
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirement type

Cwe

IdName
CWE-476NULL Pointer Dereference

Hackerone

  • Reports: 1
  • Rank: 5193

References

Same in every row:

  • Source: nvd
UrlTags
https://www.sqlite.org/cgi/src/vdiff?from=1774f1c3baf0bc3d&to=d75e67654aa9620bPatch, Vendor Advisory
https://www.sqlite.org/cgi/src/timeline?r=corrupt-schemaVendor Advisory
http://www.securityfocus.com/bid/103466Third Party Advisory, VDB Entry
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6964Permissions Required, Third Party Advisory
https://bugs.launchpad.net/ubuntu/+source/sqlite3/+bug/1756349Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/01/msg00009.htmlMailing List, Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00050.html
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html

Products

ProductAffectedPlatform boundSourcesUrl
sqlite:sqlite<= 3.22.0nonvd/v1/products/sqlite/sqlite
debian:debian_linux= 8.0nonvd/v1/products/debian/debian_linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 4706702
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since