{"id":"CVE-2019-5018","aliases":["ALPINE-CVE-2019-5018","BELL-CVE-2019-5018","DEBIAN-CVE-2019-5018","EUVD-2019-14625","GHSA-qgrg-5hv8-3w32","RHSA-2020:4442"],"status":"published","title":"An exploitable use after free vulnerability exists in the window function functionality of...","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.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.06683,"percentile":0.93946,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2019-05-10T18:46:59Z","modified":"2026-10-24T10:31:00Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"sqlite","fixed_in":["3.28.0-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"sqlite3","fixed_in":["3.27.2-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sqlite3","fixed_in":["3.27.2-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sqlite3","fixed_in":["3.27.2-3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.28.0-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"sqlite3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.27.2-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sqlite3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.27.2-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"sqlite3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.27.2-3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"lemon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"lemon-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"sqlite-analyzer-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"sqlite-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"sqlite-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"sqlite-libs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"sqlite-tcl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"lemon-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"sqlite-analyzer-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"sqlite-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"sqlite-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"sqlite-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"sqlite-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"sqlite-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"sqlite-libs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"sqlite-tcl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.26.0-11.el8"}]}],"bundled":8}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"siemens","product":"simatic s7-1500 cpu 1518-4 pn/dp mfp"},{"vendor":"siemens","product":"simatic s7-1500 cpu 1518f-4 pn/dp mfp"},{"vendor":"siemens","product":"siplus s7-1500 cpu 1518-4 pn/dp mfp"},{"vendor":"sqlite","product":"sqlite"},{"vendor":"sqlite","product":"sqlite3"}],"references":[{"url":"http://www.securityfocus.com/bid/108294","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","web"]},{"url":"https://security.gentoo.org/glsa/201908-09","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4205-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0777","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"http://packetstormsecurity.com/files/152809/Sqlite3-Window-Function-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20190521-0001/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5018","tags":["advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20190521-0001"},{"url":"https://usn.ubuntu.com/4205-1"},{"url":"https://github.com/advisories/GHSA-qgrg-5hv8-3w32"},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-5018","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2019-5018","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-5018","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:4442","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.3_release_notes/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1708301","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1768986","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1791313","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1801181","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1809315","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1841562","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1841568","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1841574","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_4442.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-5018","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-5018","tags":["advisory"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0777","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-16168","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16168","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16168","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20218","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20218","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20218","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-6405","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-6405","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-6405","tags":["advisory"]},{"url":"https://chromereleases.googleblog.com/2020/02/stable-channel-update-for-desktop.html","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-9327","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-9327","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-9327","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-13630","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-13630","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13630","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-13631","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-13631","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13631","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-13632","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-13632","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13632","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2019-5018","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.","status":"published","published":"2019-05-10T18:46:59Z","modified":"2026-10-14T06:35:35.878Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:20:18.411291Z"}],"euvd":[{"id":"EUVD-2019-14625","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.","status":"published","published":"2019-05-10T18:46:59Z","modified":"2026-10-14T06:35:35Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T17:27:17.374818Z"}],"ghsa":[{"id":"GHSA-qgrg-5hv8-3w32","title":"An exploitable use after free vulnerability exists in the window function functionality of...","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.","status":"published","published":"2022-05-24T16:45:28Z","modified":"2026-10-14T09:32:24Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T15:13:23.530725Z"}],"nvd":[{"id":"CVE-2019-5018","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.","status":"published","published":"2019-05-10T19:29:07.747Z","modified":"2026-10-14T07:16:53.64Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:05:13.880207Z"}],"osv":[{"id":"ALPINE-CVE-2019-5018","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.","status":"published","published":"2019-05-10T19:29:07.747Z","modified":"2026-09-21T06:17:52.521983478Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:48.11886Z"},{"id":"BELL-CVE-2019-5018","title":"CVE-2019-5018 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:14:18.61708Z","modified":"2026-01-26T09:45:39.48633Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:15.340685Z"},{"id":"CVE-2019-5018","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.","status":"published","published":"2019-05-10T19:29:07.747Z","modified":"2026-10-24T10:31:00.513051075Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:12.363788Z"},{"id":"DEBIAN-CVE-2019-5018","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.","status":"published","published":"2019-05-10T19:29:07.747Z","modified":"2026-10-15T07:47:26.906156492Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:32.221385Z"},{"id":"RHSA-2020:4442","title":"Red Hat Security Advisory: sqlite security update","status":"published","published":"2024-09-16T03:53:13Z","modified":"2026-10-15T10:01:40Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:07.57369Z"}]}}
