---
title: "CVE-2019-5018\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2019-5018?format=md
keywords: index, follow
---

# CVE-2019-5018

Publication date 10 May 2019

Last updated 25 August 2025

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.1 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2019-5018?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2019-5018?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| sqlite3 | 19.10 eoan | Fixed 3.27.2-3 |
| 19.04 disco | Fixed 3.27.2-2ubuntu0.2 |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2019-5018?format=md#patch-details)

## Notes

---

### [leosilva](https://launchpad.net/~leosilva)

code was introduced in 3.25.0

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

need to be able to execute arbitrary SQL commands to trigger
this issue.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| sqlite3 | * Upstream:   <https://www.sqlite.org/src/vpatch?from=1ae70ad2ffd36c27&to=1e16d3e8fc60d39c> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.1 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.1 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-5018)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-5018)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2019-5018)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2019-5018)

### Related Ubuntu Security Notices (USN)

+ [USN-4205-1](https://usn.ubuntu.com/USN-4205-1)
+ SQLite vulnerabilities
+ 2 December 2019

### Other references

* <https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0777>
* <https://www.cve.org/CVERecord?id=CVE-2019-5018>
