Description
os_unix.c in SQLite before 3.13.0 improperly implements the temporary directory search algorithm, which might allow local users to obtain sensitive information, cause a denial of service (application crash), or have unspecified other impact by leveraging use of the current working directory for temporary files.
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.13.0-1 | — |
| Debian 13 | sqlite3 | 3.13.0-1 | — |
| Debian 12 | sqlite3 | 3.13.0-1 | — |
| Debian 10 | sqlite | 2.8.17-15+deb10u1 | DLA-3431-1 |
| Debian 7 | sqlite3 | 3.7.13-1+deb7u3 | DLA-543-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | sqlite3 | 3.22.0-1ubuntu0.1 | USN-4019-1 |
| Ubuntu 16.04 LTS | sqlite3 | 3.11.0-1ubuntu1.2 | USN-4019-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | sqlite3 | 3.8.2-1ubuntu2.2+esm1 | USN-4019-2 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SLES 12 SP4 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SLES 12 SP3 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SLES 12 SP2 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SLES 12 SP1 | sqlite3 | 3.8.10.2-3.1 | SUSE-SU-2016:1945-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | sqlite3 | 3.8.3.1-2.7.1 | SUSE-SU-2019:0973-1 |
| SLES 11 SP4 | sqlite3 | 3.7.6.3-1.4.6.1 | SUSE-SU-2016:2021-1 |
| SUSE Studio Onsite 1.3 | sqlite3 | 3.7.6.3-1.4.6.1 | SUSE-SU-2016:2021-1 |
| SLES for SAP 12 SP5 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SLES for SAP 12 SP4 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SLES for SAP 12 SP3 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SLES for SAP 12 SP1 | sqlite3 | 3.8.10.2-3.1 | SUSE-SU-2016:1945-1 |
| SLES for SAP 11 SP4 | sqlite3 | 3.7.6.3-1.4.6.1 | SUSE-SU-2016:2021-1 |
| SUSE OpenStack Cloud Crowbar 9 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE OpenStack Cloud Crowbar 8 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE OpenStack Cloud 9 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE OpenStack Cloud 8 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE HPE Helion OpenStack 8 | sqlite3 | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
Advisories 11
- ICSA-26-141-03 ABB B&R Automation Studio CISA ICS & IT advisories · May 21, 2026
- SA25P007 B&R Automation Studio Update of SQLite version ABB PSIRT · May 14, 2026
- USN-4019-2 sqlite3 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-4019-1 sqlite3 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- 4HZM000604 ABB Ability Camera Connect Vulnerabilities in outdated 3rd party component (SQLite 3.2.4) ABB PSIRT · Mar 26, 2026
- DLA-543-1 sqlite3 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3431-1 sqlite - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:2021-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1945-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3215-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0973-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://www.tenable.com/security/tns-2016-20
- openSUSE-SU-2016:2041 vendor-advisory
- https://www.sqlite.org/releaselog/3_13_0.html
- [oss-security] 20160701 Re: SQLite Tempdir Selection Vulnerability mailing-list
- 91546 vdb-entry
- http://www.sqlite.org/cgi/src/info/67985761aa93fb61
- FEDORA-2016-0138339b54 vendor-advisory
- https://www.korelogic.com/Resources/Advisories/KL-001-2016-003.txt
- [oss-security] 20160701 SQLite Tempdir Selection Vulnerability mailing-list
- USN-4019-1 vendor-advisory
- USN-4019-2 vendor-advisory
- FEDORA-2019-49f80a78bc vendor-advisory
- [debian-lts-announce] 20230522 [SECURITY] [DLA 3431-1] sqlite security update mailing-list