sqlite: Use-after-free in window function leading to remote code execution
Published May 10, 2019
8.1
HIGHCVSS 3.1
EPSS 6.68%
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.
Affected products
- Vendor n/a Product Sqlite3 Defaultn/a
- Version SQLite 3.26.0, 3.27.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Sqlite3 | n/a |
|
Configuration 2
- 12.04
- 16.04
- 18.04
- 19.04
- 19.10
No data.
Red Hat Enterprise Linux 8
sqlite-0:3.26.0-11.el8
Fixed · RHSA-2020:4442
Red Hat Enterprise Linux 8
sqlite-0:3.26.0-11.el8
Fixed · RHSA-2020:4442
Red Hat Enterprise Linux 5
sqlite
Not affected
Red Hat Enterprise Linux 6
sqlite
Not affected
Red Hat Enterprise Linux 7
sqlite
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | sqlite-0:3.26.0-11.el8 | Fixed | RHSA-2020:4442 |
| Red Hat Enterprise Linux 8 | sqlite-0:3.26.0-11.el8 | Fixed | RHSA-2020:4442 |
| Red Hat Enterprise Linux 5 | sqlite | Not affected | n/a |
| Red Hat Enterprise Linux 6 | sqlite | Not affected | n/a |
| Red Hat Enterprise Linux 7 | sqlite | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of sqlite as shipped with Red Hat Enterprise Linux 5, 6, and 7 as they did not include support for Window functions.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (22 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 6.68% (0.06683) | 93.71th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.68% (0.06683) | 93.02th | v5 (v2026.06.15) |
| Nov 21, 2025 | 2.56% (0.02561) | 85.01th | v4 (v2025.03.14) |
| Nov 18, 2025 | 9.08% (0.09080) | 91.80th | v4 (v2025.03.14) |
| Oct 3, 2025 | 2.77% (0.02771) | 85.56th | v4 (v2025.03.14) |
| Jun 29, 2025 | 6.56% (0.06563) | 90.68th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.45% (0.02450) | 83.77th | v4 (v2025.03.14) |
| Mar 29, 2025 | 7.58% (0.07581) | 86.13th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.45% (0.02450) | 84.10th | v4 (v2025.03.14) |
| Dec 17, 2024 | 16.43% (0.16426) | 95.98th | v3 (v2023.03.01) |
| Dec 12, 2024 | 7.89% (0.07893) | 94.51th | v3 (v2023.03.01) |
| Sep 30, 2024 | 7.43% (0.07427) | 94.22th | v3 (v2023.03.01) |
| May 3, 2024 | 8.73% (0.08731) | 94.49th | v3 (v2023.03.01) |
| Apr 16, 2023 | 11.20% (0.11198) | 94.28th | v3 (v2023.03.01) |
| Mar 7, 2023 | 9.98% (0.09976) | 93.89th | v3 (v2023.03.01) |
| Mar 6, 2023 | 6.73% (0.06729) | 91.59th | v2 (v2022.01.01) |
| Apr 1, 2022 | 6.73% (0.06729) | 90.78th | v2 (v2022.01.01) |
| Feb 4, 2022 | 48.33% (0.48334) | 98.11th | v2 (v2022.01.01) |
| Feb 3, 2022 | 12.80% (0.12800) | 88.92th | v1 |
| Jan 6, 2022 | 12.80% (0.12800) | 88.79th | v1 |
| Sep 1, 2021 | 3.17% (0.03168) | 81.34th | v1 |
| Apr 14, 2021 | 3.17% (0.03168) | 0.00th | v1 |
References (11)
- http://packetstormsecurity.com/files/152809/Sqlite3-Window-Function-Remote-Code-Execution.html x_refsource_MISCThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/108294 vdb-entryx_refsource_BIDBroken Link
- https://access.redhat.com/security/cve/CVE-2019-5018 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1708301 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2019-5018
- https://security.gentoo.org/glsa/201908-09 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://security.netapp.com/advisory/ntap-20190521-0001/ x_refsource_CONFIRMThird Party Advisory
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0777 x_refsource_MISCExploitThird Party Advisory
- https://usn.ubuntu.com/4205-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-5018
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0777
| Link | Providers | Tags |
|---|---|---|
| http://packetstormsecurity.com/files/152809/Sqlite3-Window-Function-Remote-Code-Execution.html | x_refsource_MISCThird Party AdvisoryVDB Entry | |
| http://www.securityfocus.com/bid/108294 | vdb-entryx_refsource_BIDBroken Link | |
| https://access.redhat.com/security/cve/CVE-2019-5018 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1708301 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-5018 | ||
| https://security.gentoo.org/glsa/201908-09 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://security.netapp.com/advisory/ntap-20190521-0001/ | x_refsource_CONFIRMThird Party Advisory | |
| https://talosintelligence.com/vulnerability_reports/TALOS-2019-0777 | x_refsource_MISCExploitThird Party Advisory | |
| https://usn.ubuntu.com/4205-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2019-5018 | ||
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0777 |
Change history (0)
No recorded changes yet.