---
id: CVE-2019-5018
title: >-
  An exploitable use after free vulnerability exists in the window function
  functionality of Sqlite3 3.26.0
summary: >-
  An exploitable use after free vulnerability exists in the window function
  functionality of Sqlite3 3.26.0. A specially crafted SQL command can cause a
  use after free vulnerability, potentially resulting in remote code execution.
  An attac…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
  - CWE-416
vendor: sqlite
product: sqlite
affected:
  - sqlite = 3.26.0
  - ubuntu_linux = 12.04
  - ubuntu_linux = 16.04
  - ubuntu_linux = 18.04
  - ubuntu_linux = 19.04
  - ubuntu_linux = 19.10
published: '2019-05-10'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T07:16:53.640'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2019-5018'
references:
  - url: >-
      http://packetstormsecurity.com/files/152809/Sqlite3-Window-Function-Remote-Code-Execution.html
    label: talos-cna@cisco.com
  - url: 'http://www.securityfocus.com/bid/108294'
    label: talos-cna@cisco.com
  - url: 'https://security.gentoo.org/glsa/201908-09'
    label: talos-cna@cisco.com
  - url: 'https://security.netapp.com/advisory/ntap-20190521-0001/'
    label: talos-cna@cisco.com
  - url: 'https://talosintelligence.com/vulnerability_reports/TALOS-2019-0777'
    label: talos-cna@cisco.com
  - url: 'https://usn.ubuntu.com/4205-1/'
    label: talos-cna@cisco.com
  - url: >-
      http://packetstormsecurity.com/files/152809/Sqlite3-Window-Function-Remote-Code-Execution.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/bid/108294'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/201908-09'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20190521-0001/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://talosintelligence.com/vulnerability_reports/TALOS-2019-0777'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://usn.ubuntu.com/4205-1/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.06683
epssPercentile: 0.93765
ingestedAt: '2026-10-14T07:21:04.812Z'
---

## Overview

An exploitable use after free vulnerability exists in the window function functionality of Sqlite3 3.26.0. A specially crafted SQL command can cause a use after free vulnerability, potentially resulting in remote code execution. An attacker can send a malicious SQL command to trigger this vulnerability.

## Affected

- `sqlite = 3.26.0`
- `ubuntu_linux = 12.04`
- `ubuntu_linux = 16.04`
- `ubuntu_linux = 18.04`
- `ubuntu_linux = 19.04`
- `ubuntu_linux = 19.10`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
