HighFix available
sqlite3 — security advisory
SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions such as WRITEFILE.
- Products
- sqlite3
- Affected versions
- Not specified
- Fixed versions
- 3.40.0-2
- CVEs
- CVE-2022-46908
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:52 UTC · Revision 1
Source evidence
SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions such as WRITEFILE.
osv:DEBIAN-CVE-2022-46908
sqlite3
Fixed versions: 3.40.0-2
sqlite3
Fixed versions: 3.40.0-2
sqlite3
Fixed versions: 3.40.0-2
Complete source record
{
"id": "de7b5716b922ae2e198827e6e1ca4dcdc6177dc2b4ed15629184ac6fc47254a5",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-46908",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-46908",
"summary": "SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions such as WRITEFILE.",
"evidence": "osv:DEBIAN-CVE-2022-46908",
"products": [
{
"name": {
"value": "sqlite3",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.40.0-2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "sqlite3",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.40.0-2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "sqlite3",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.40.0-2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2022-46908",
"aliases": [
"DEBIAN-CVE-2022-46908"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.40.0-2"
}
]
}
],
"package": {
"name": "sqlite3",
"purl": "pkg:deb/debian/sqlite3?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-46908.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.40.0-2"
}
]
}
],
"package": {
"name": "sqlite3",
"purl": "pkg:deb/debian/sqlite3?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-46908.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.40.0-2"
}
]
}
],
"package": {
"name": "sqlite3",
"purl": "pkg:deb/debian/sqlite3?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-46908.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T09:47:42.653915815Z",
"provider": "osv",
"upstream": [
"CVE-2022-46908"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-46908"
]
},
"related_cves": [
{
"value": "CVE-2022-46908",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 328443,
"published_at": "2022-12-12T06:15:10.793+00:00"
}