sqliteodbc — security advisory
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.
- Products
- sqliteodbc
- Affected versions
- 0.999-1, 0.9992-0.1, 0.9995-1, 0.9996-1, 0.9996-2, 0.9996-3, 0.9998-2, 0.9998-3, 0.9999-2, 0.99991-1, 0.99991-1build1, 0.99991-2, 0.99991-2build1, 0.99991-3, 0.99991-5
- Fixed versions
- Not specified
- CVEs
- CVE-2020-12050
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:37 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2020-12050
sqliteodbc
Fixed versions: Not specified
sqliteodbc
Fixed versions: Not specified
sqliteodbc
Fixed versions: Not specified
sqliteodbc
Fixed versions: Not specified
sqliteodbc
Fixed versions: Not specified
sqliteodbc
Fixed versions: Not specified
sqliteodbc
Fixed versions: Not specified
sqliteodbc
Fixed versions: Not specified
Complete source record
{
"id": "43172148f9cc05957d1e5aa878ae1d9418b20031f1505f3e112c8c0fa36ee958",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-12050",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2020-12050",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2020-12050",
"products": [
{
"name": {
"value": "sqliteodbc",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.999-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9992-0.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "sqliteodbc",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9995-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "sqliteodbc",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9996-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.9996-2",
"evidence": "/affected/2/versions"
},
{
"value": "0.9996-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "sqliteodbc",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9998-2",
"evidence": "/affected/3/versions"
},
{
"value": "0.9998-3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "sqliteodbc",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9998-3",
"evidence": "/affected/4/versions"
},
{
"value": "0.9999-2",
"evidence": "/affected/4/versions"
},
{
"value": "0.99991-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.99991-1build1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "sqliteodbc",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.99991-2",
"evidence": "/affected/5/versions"
},
{
"value": "0.99991-2build1",
"evidence": "/affected/5/versions"
},
{
"value": "0.99991-3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "sqliteodbc",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.99991-5",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "sqliteodbc",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.99991-3",
"evidence": "/affected/7/versions"
},
{
"value": "0.99991-5",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2020-12050",
"aliases": [
"UBUNTU-CVE-2020-12050"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "low"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqliteodbc",
"purl": "pkg:deb/ubuntu/sqliteodbc?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.999-1",
"0.9992-0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12050.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsqlite3-mod-blobtoxy",
"binary_version": "0.9992-0.1"
},
{
"binary_name": "libsqlite3-mod-csvtable",
"binary_version": "0.9992-0.1"
},
{
"binary_name": "libsqlite3-mod-impexp",
"binary_version": "0.9992-0.1"
},
{
"binary_name": "libsqlite3-mod-xpath",
"binary_version": "0.9992-0.1"
},
{
"binary_name": "libsqlite3-mod-zipfile",
"binary_version": "0.9992-0.1"
},
{
"binary_name": "libsqliteodbc",
"binary_version": "0.9992-0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqliteodbc",
"purl": "pkg:deb/ubuntu/sqliteodbc?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.9995-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12050.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsqlite3-mod-blobtoxy",
"binary_version": "0.9995-1"
},
{
"binary_name": "libsqlite3-mod-csvtable",
"binary_version": "0.9995-1"
},
{
"binary_name": "libsqlite3-mod-impexp",
"binary_version": "0.9995-1"
},
{
"binary_name": "libsqlite3-mod-xpath",
"binary_version": "0.9995-1"
},
{
"binary_name": "libsqlite3-mod-zipfile",
"binary_version": "0.9995-1"
},
{
"binary_name": "libsqliteodbc",
"binary_version": "0.9995-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqliteodbc",
"purl": "pkg:deb/ubuntu/sqliteodbc?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.9996-1",
"0.9996-2",
"0.9996-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12050.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsqlite3-mod-blobtoxy",
"binary_version": "0.9996-3"
},
{
"binary_name": "libsqlite3-mod-csvtable",
"binary_version": "0.9996-3"
},
{
"binary_name": "libsqlite3-mod-impexp",
"binary_version": "0.9996-3"
},
{
"binary_name": "libsqlite3-mod-xpath",
"binary_version": "0.9996-3"
},
{
"binary_name": "libsqlite3-mod-zipfile",
"binary_version": "0.9996-3"
},
{
"binary_name": "libsqliteodbc",
"binary_version": "0.9996-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqliteodbc",
"purl": "pkg:deb/ubuntu/sqliteodbc?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.9998-2",
"0.9998-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12050.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsqlite3-mod-blobtoxy",
"binary_version": "0.9998-3"
},
{
"binary_name": "libsqlite3-mod-csvtable",
"binary_version": "0.9998-3"
},
{
"binary_name": "libsqlite3-mod-impexp",
"binary_version": "0.9998-3"
},
{
"binary_name": "libsqlite3-mod-xpath",
"binary_version": "0.9998-3"
},
{
"binary_name": "libsqlite3-mod-zipfile",
"binary_version": "0.9998-3"
},
{
"binary_name": "libsqliteodbc",
"binary_version": "0.9998-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqliteodbc",
"purl": "pkg:deb/ubuntu/sqliteodbc?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.9998-3",
"0.9999-2",
"0.99991-1",
"0.99991-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12050.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsqlite3-mod-blobtoxy",
"binary_version": "0.99991-1build1"
},
{
"binary_name": "libsqlite3-mod-csvtable",
"binary_version": "0.99991-1build1"
},
{
"binary_name": "libsqlite3-mod-impexp",
"binary_version": "0.99991-1build1"
},
{
"binary_name": "libsqlite3-mod-xpath",
"binary_version": "0.99991-1build1"
},
{
"binary_name": "libsqlite3-mod-zipfile",
"binary_version": "0.99991-1build1"
},
{
"binary_name": "libsqliteodbc",
"binary_version": "0.99991-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqliteodbc",
"purl": "pkg:deb/ubuntu/sqliteodbc?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.99991-2",
"0.99991-2build1",
"0.99991-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12050.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsqlite3-mod-blobtoxy",
"binary_version": "0.99991-3"
},
{
"binary_name": "libsqlite3-mod-csvtable",
"binary_version": "0.99991-3"
},
{
"binary_name": "libsqlite3-mod-impexp",
"binary_version": "0.99991-3"
},
{
"binary_name": "libsqlite3-mod-xpath",
"binary_version": "0.99991-3"
},
{
"binary_name": "libsqlite3-mod-zipfile",
"binary_version": "0.99991-3"
},
{
"binary_name": "libsqliteodbc",
"binary_version": "0.99991-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqliteodbc",
"purl": "pkg:deb/ubuntu/sqliteodbc?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.99991-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12050.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsqlite3-mod-blobtoxy",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqlite3-mod-csvtable",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqlite3-mod-impexp",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqlite3-mod-xpath",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqlite3-mod-zipfile",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqliteodbc",
"binary_version": "0.99991-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqliteodbc",
"purl": "pkg:deb/ubuntu/sqliteodbc?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.99991-3",
"0.99991-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12050.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsqlite3-mod-blobtoxy",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqlite3-mod-csvtable",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqlite3-mod-impexp",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqlite3-mod-xpath",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqlite3-mod-zipfile",
"binary_version": "0.99991-5"
},
{
"binary_name": "libsqliteodbc",
"binary_version": "0.99991-5"
}
]
}
}
],
"modified": "2026-10-17T12:55:51.224669125Z",
"provider": "osv",
"upstream": [
"CVE-2020-12050"
],
"references": [
"https://ubuntu.com/security/CVE-2020-12050",
"https://bugzilla.redhat.com/show_bug.cgi?id=1825762",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PDS5RK7F47BRXHUYRWGMGLYU2GJEVZQA/",
"https://sysdream.com/news/lab/",
"https://www.cve.org/CVERecord?id=CVE-2020-12050"
]
},
"related_cves": [
{
"value": "CVE-2020-12050",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354166,
"published_at": "2020-04-30T17:15:00+00:00"
}