{"id":"CVE-2020-12050","aliases":["DEBIAN-CVE-2020-12050","EUVD-2020-4366","GHSA-8q4v-jg8h-7hjg","UBUNTU-CVE-2020-12050","openSUSE-SU-2020:0612-1","openSUSE-SU-2020:0628-1","openSUSE-SU-2024:11401-1"],"status":"published","title":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition...","description":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition leading to root privilege escalation because any user can replace a /tmp/sqliteodbc$$ file with new contents that cause loading of an arbitrary library.","severity":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00308,"percentile":0.23903,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2020-04-30T16:09:05Z","modified":"2026-10-26T12:01:16Z","fixes":[{"ecosystem":"SUSE:Package Hub 15 SP1","package":"sqliteodbc","fixed_in":["0.9996-bp151.4.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.1","package":"sqliteodbc","fixed_in":["0.9996-lp151.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"sqliteodbc","fixed_in":["0.9998-1.7"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9998-3","0.9999-1","0.9999-2","0.99991-1","0.99991-2","0.99991-3","0.99991-4","0.99991-5"]},{"source":"osv","ecosystem":"Debian:13","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.99991-2","0.99991-3","0.99991-4","0.99991-5"]},{"source":"osv","ecosystem":"Debian:14","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.99991-2","0.99991-3","0.99991-4","0.99991-5"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.999-1","0.9992-0.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9995-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9996-1","0.9996-2","0.9996-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9998-2","0.9998-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9998-3","0.9999-2","0.99991-1","0.99991-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.99991-2","0.99991-2build1","0.99991-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.99991-5"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.99991-3","0.99991-5"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP1","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9996-bp151.4.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.1","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9996-lp151.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"sqliteodbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9998-1.7"}]}]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"opensuse","product":"backports_sle"},{"vendor":"sqliteodbc_project","product":"sqliteodbc"}],"references":[{"url":"https://sysdream.com/news/lab/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"http://www.ch-werner.de/sqliteodbc/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PR6B33IGBADGYDBTEEU36OGERER2HOGQ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXPHBDVB3LAQUQJCZ4WIS3JWM7JFR56X/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1825762","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PDS5RK7F47BRXHUYRWGMGLYU2GJEVZQA/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00013.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00026.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://sysdream.com/news/lab/2020-05-25-cve-2020-12050-fedora-red-hat-centos-local-privilege-escalation-through-a-race-condition-in-the-sqliteodbc-installer-script/","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12050"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PDS5RK7F47BRXHUYRWGMGLYU2GJEVZQA/","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PR6B33IGBADGYDBTEEU36OGERER2HOGQ/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WXPHBDVB3LAQUQJCZ4WIS3JWM7JFR56X/"},{"url":"https://github.com/advisories/GHSA-8q4v-jg8h-7hjg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-12050","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-12050","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-12050","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ZG4SUUMPO5VYSTATEZAJL7HFWPLYSKPD/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1171041","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2020-12050","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/A6QNDC6L2DBF4CXJMTKOYWRTYLWVUISW/","tags":["advisory"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2020-12050","description":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition leading to root privilege escalation because any user can replace a /tmp/sqliteodbc$$ file with new contents that cause loading of an arbitrary library.","status":"published","published":"2020-04-30T16:09:05Z","modified":"2024-08-04T11:48:57.942Z","updated_at":"2026-11-02T14:35:52.925152Z"}],"euvd":[{"id":"EUVD-2020-4366","description":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition leading to root privilege escalation because any user can replace a /tmp/sqliteodbc$$ file with new contents that cause loading of an arbitrary library.","status":"published","published":"2020-04-30T16:09:05Z","modified":"2024-08-04T11:48:57Z","updated_at":"2026-11-03T03:07:41.399649Z"}],"ghsa":[{"id":"GHSA-8q4v-jg8h-7hjg","title":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition...","description":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition leading to root privilege escalation because any user can replace a /tmp/sqliteodbc$$ file with new contents that cause loading of an arbitrary library.","status":"published","published":"2022-05-24T17:16:59Z","modified":"2023-01-29T05:02:47Z","updated_at":"2026-11-02T14:45:10.011414Z"}],"nvd":[{"id":"CVE-2020-12050","description":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition leading to root privilege escalation because any user can replace a /tmp/sqliteodbc$$ file with new contents that cause loading of an arbitrary library.","status":"published","published":"2020-04-30T17:15:12.97Z","modified":"2026-06-17T02:51:20.77Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:05:59.718774Z"}],"osv":[{"id":"CVE-2020-12050","description":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition leading to root privilege escalation because any user can replace a /tmp/sqliteodbc$$ file with new contents that cause loading of an arbitrary library.","status":"published","published":"2020-04-30T17:15:12.97Z","modified":"2026-03-15T22:30:23.212357Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"DEBIAN-CVE-2020-12050","description":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition leading to root privilege escalation because any user can replace a /tmp/sqliteodbc$$ file with new contents that cause loading of an arbitrary library.","status":"published","published":"2020-04-30T17:15:12.97Z","modified":"2026-10-26T12:01:16.422283856Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:32.862554Z"},{"id":"UBUNTU-CVE-2020-12050","description":"SQLiteODBC 0.9996, as packaged for certain Linux distributions as 0.9996-4, has a race condition leading to root privilege escalation because any user can replace a /tmp/sqliteodbc$$ file with new contents that cause loading of an arbitrary library.","status":"published","published":"2020-04-30T17:15:00Z","modified":"2026-10-17T12:55:51.224669125Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:22.804634Z"},{"id":"openSUSE-SU-2020:0612-1","title":"Security update for sqliteodbc","description":"This update for sqliteodbc fixes the following issues:\n\nSecurity issue fixed:\n\n- CVE-2020-12050: Fixed a privilege escalation vulnerability (boo#1171041).\n\nNon-security issues fixed:\n\n- Update to version 0.9996\n  * update to SQLite 3.22.0\n  * fixes in handling DDL in SQLExecDirect() et.al., thanks Andre Mikulec for testing\n    * cleanup utf8/unicode conversion functions\n","status":"published","published":"2020-05-05T11:24:10Z","modified":"2026-02-04T02:15:08.93149Z","updated_at":"2026-11-02T16:58:31.152112Z"},{"id":"openSUSE-SU-2020:0628-1","title":"Security update for sqliteodbc","description":"This update for sqliteodbc fixes the following issues:\n\nSecurity issue fixed:\n\n- CVE-2020-12050: Fixed a privilege escalation vulnerability (boo#1171041).\n\nNon-security issues fixed:\n\n- Update to version 0.9996\n  * update to SQLite 3.22.0\n  * fixes in handling DDL in SQLExecDirect() et.al., thanks Andre Mikulec for testing\n    * cleanup utf8/unicode conversion functions\n","status":"published","published":"2020-05-08T12:18:52Z","modified":"2026-02-04T03:44:05.588647Z","updated_at":"2026-11-02T16:58:31.152112Z"},{"id":"openSUSE-SU-2024:11401-1","title":"sqliteodbc-0.9998-1.7 on GA media","description":"These are all security issues fixed in the sqliteodbc-0.9998-1.7 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:07:46.74568Z","updated_at":"2026-11-02T16:58:35.195147Z"}]}}
