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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sqlite3 | 3.40.0-2 | — |
| Debian 13 | sqlite3 | 3.40.0-2 | — |
| Debian 12 | sqlite3 | 3.40.0-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | sqlite3 | 3.37.2-2ubuntu0.3 | USN-6566-1 |
| Ubuntu 20.04 LTS | sqlite3 | 3.31.1-4ubuntu0.6 | USN-6566-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2022:4628-1 |
| SLES 15 SP3 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SLES 15 SP2 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SLES 15 SP1 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SLES 12 SP5 | sqlite3 | 3.39.3-9.26.1 | SUSE-SU-2022:4603-1 |
Show 20 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | sqlite3 | 3.39.3-9.26.1 | SUSE-SU-2023:2668-1 |
| SLES 12 SP2 | sqlite3 | 3.39.3-9.26.1 | SUSE-SU-2023:2668-1 |
| SLES for SAP 15 SP3 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SLES for SAP 15 SP2 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SLES for SAP 15 SP1 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SLES for SAP 12 SP5 | sqlite3 | 3.39.3-9.26.1 | SUSE-SU-2022:4603-1 |
| SLES for SAP 12 SP4 | sqlite3 | 3.39.3-9.26.1 | SUSE-SU-2023:2668-1 |
| SLE Real Time 15 SP3 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2022:4628-1 |
| SLE Micro 5.3 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2022:4628-1 |
| SLE Micro 5.2 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2022:4628-1 |
| SLE Micro 5.1 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2022:4628-1 |
| SLE HPC 15 SP3 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SLE HPC 15 SP2 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SLE HPC 15 SP1 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SUSE OpenStack Cloud Crowbar 9 | sqlite3 | 3.39.3-9.26.1 | SUSE-SU-2023:2668-1 |
| SUSE OpenStack Cloud 9 | sqlite3 | 3.39.3-9.26.1 | SUSE-SU-2023:2668-1 |
| SUSE Manager Server 4.2 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SUSE Manager Proxy 4.2 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SUSE Enterprise Storage 7.1 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
| SUSE Enterprise Storage 7 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2023:1295-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | sqlite3 | 3.40.0-2.1 | openSUSE-SU-2024:12574-1 |
| openSUSE Leap 15.4 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2022:4628-1 |
| openSUSE Leap 15.3 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2022:4628-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2022:4628-1 |
| openSUSE Leap Micro 5.2 | sqlite3 | 3.39.3-150000.3.20.1 | SUSE-SU-2022:4628-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | lemon +7 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | sqlite | 3.39.2-2 | — |
Advisories 20
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-6566-1 sqlite3 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2022:4603-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:4628-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2668-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12574-1 libsqlite3-0-3.40.0-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:1295-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- WID-SEC-2025-1459 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 3, 2025
- ALAS2023-2025-971 Important: sqlite security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 13, 2025
- SCA-2025-0006 Vulnerability affecting picoScan and multiScan SICK PSIRT · Apr 28, 2025
- WID-SEC-2024-0119 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 21, 2024
- SSA-556635 SSA-556635: Multiple Vulnerabilities in Telecontrol Server Basic before V3.1.2.0 Siemens ProductCERT · Apr 9, 2024
- WID-SEC-2023-1016 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 26, 2023
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- WID-SEC-2023-1728 Autodesk AutoCAD: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 11, 2023
- WID-SEC-2023-1022 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
- WID-SEC-2023-1017 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023