CVE-2022-46908
CVE-2022-46908 is a high-severity vulnerability in Sqlite with a CVSS 3.x base score of 7.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- EPSS exploit prediction: 0% (34th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Sqlite
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2022-46908?
- 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.
- How severe is CVE-2022-46908?
- CVE-2022-46908 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2022-46908 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (34th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-46908?
- CVE-2022-46908 affects Sqlite. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-46908?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-46908 published?
- CVE-2022-46908 was published on 2022-12-12 and last updated on 2026-06-17.
References
- https://news.ycombinator.com/item?id=33948588
- https://security.gentoo.org/glsa/202311-03
- https://security.netapp.com/advisory/ntap-20230203-0005/
- https://sqlite.org/forum/forumpost/07beac8056151b2f
- https://sqlite.org/src/info/cefc032473ac5ad2
Affected products (1)
- cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
More vulnerabilities in Sqlite
- CVE-2015-5895 — Critical (CVSS 10.0): Multiple unspecified vulnerabilities in SQLite before 3.8.10.2, as used in Apple iOS before 9, have unknown impact and…
- CVE-2025-3277 — Critical (CVSS 9.8): An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then…
- CVE-2020-35527 — Critical (CVSS 9.8): In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- CVE-2020-11656 — Critical (CVSS 9.8): In SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause…
- CVE-2019-19646 — Critical (CVSS 9.8): pragma.c in SQLite through 3.30.1 mishandles NOT NULL in an integrity_check PRAGMA command in certain cases of…
- CVE-2019-19317 — Critical (CVSS 9.8): lookupName in resolve.c in SQLite 3.30.1 omits bits from the colUsed bitmask in the case of a generated column, which…