CVE-2016-6153
os_unix.c in SQLite before 3.13.0 improperly implements the temporary directory search algorithm,...
CVE-2016-6153 is a medium vulnerability (CVSS 5.9) in Sqlite, published July 5, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.48%, the 41st percentile. Fixed in sqlite3 3.13.0-1.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
NVD Score used
5.9
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.
- Record
CVE-2016-6153- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-6153- Updated
- 2026-11-02
EUVDEUVD-2016-7087 No score
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.
- Record
EUVD-2016-7087- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c7vx-xpvf-fj57
5.9
os_unix.c in SQLite before 3.13.0 improperly implements the temporary directory search algorithm,...
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.
- Record
GHSA-c7vx-xpvf-fj57- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVBELL-CVE-2016-6153
5.9
CVE-2016-6153 does not affect BellSoft software
- Record
BELL-CVE-2016-6153- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSV
5.9
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.
- Record
CVE-2016-6153- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2016-6153
5.9
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.
- Record
DEBIAN-CVE-2016-6153- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-6153
5.9
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.
- Record
UBUNTU-CVE-2016-6153- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVMGASA-2016-0255 No score
Updated sqlite3 packages fix security vulnerability
It was discovered that sqlite3 would reject a temporary directory (e.g., as specified by the TMPDIR environment variable) to which the executing user did not have read permissions. This could result in information leakage as less secure global temporary directories (e.g., /var/tmp or /tmp) would be used instead (CVE-2016-6153).
- Record
MGASA-2016-0255- Updated
- 2026-11-02
OSVMGASA-2023-0208 No score
Updated sqlite packages fix security vulnerability
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. (CVE-2016-6153) In SQLite through 3.22.0, databases whose schema is corrupted using a CREATE TABLE AS statement could cause a NULL pointer dereference, related to build.c and prepare (CVE-2018-8740)
- Record
MGASA-2023-0208- Updated
- 2026-11-02
OSVSUSE-SU-2016:1945-1 No score
Security update for sqlite3
This update for sqlite3 fixes the following issues:
The following security issue was fixed:
- CVE-2016-6153: Fixed a tempdir selection vulnerability (bsc#987394)
- Record
SUSE-SU-2016:1945-1- Updated
- 2026-11-02
OSVSUSE-SU-2016:2021-1 No score
Security update for sqlite3
This update for sqlite3 fixes the following issues:
The following security issue was fixed:
- CVE-2016-6153: Fixed a tempdir selection vulnerability (bsc#987394)
- Record
SUSE-SU-2016:2021-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:0973-1 No score
Security update for sqlite3
This update for sqlite3 fixes the following issues:
Security issues fixed:
- CVE-2018-20506: Fixed an integer overflow when FTS3 extension is enabled (bsc#1131576).
- CVE-2018-20346: Fixed a remote code execution vulnerability in FTS3 (Magellan) (bsc#1119687).
- CVE-2016-6153: Fixed incorrect permissions when creating temporary files (bsc#987394).
- Record
SUSE-SU-2019:0973-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3215-1 No score
Security update for sqlite3
This update for sqlite3 fixes the following issues:
sqlite3 is sync version 3.36.0 from Factory (jsc#SLE-16032).
The following CVEs have been fixed in upstream releases up to this point, but were not mentioned in the change log so far:
- bsc#1173641, CVE-2020-15358: heap-based buffer overflow in multiSelectOrderBy due to mishandling of query-flattener optimization
- bsc#1164719, CVE-2020-9327: NULL pointer dereference and segmentation fault because of generated column optimizations in isAuxiliaryVtabOperator
- bsc#1160439, CVE-2019-20218: selectExpander in select.c proceeds with WITH stack unwinding even after a parsing error
- bsc#1160438, CVE-2019-19959: memory-management error via ext/misc/zipfile.c involving embedded '\0' input
- bsc#1160309, CVE-2019-19923: improper handling of certain uses of SELECT DISTINCT in flattenSubquery may lead to null pointer dereference
- bsc#1159850, CVE-2019-19924: improper error handling in sqlite3WindowRewrite()
- bsc#1159847, CVE-2019-19925: improper handling of NULL pathname during an update of a ZIP archive
- bsc#1159715, CVE-2019-19926: improper handling of certain errors during parsing multiSelect in select.c
- bsc#1159491, CVE-2019-19880: exprListAppendList in window.c allows attackers to trigger an invalid pointer dereference
- bsc#1158960, CVE-2019-19603: during handling of CREATE TABLE and CREATE VIEW statements, does not consider confusion with a shadow table name
- bsc#1158959, CVE-2019-19646: pragma.c mishandles NOT NULL in an integrity_check PRAGMA command in certain cases of generated columns
- bsc#1158958, CVE-2019-19645: alter.c allows attackers to trigger infinite recursion via certain types of self-referential views in conjunction with ALTER TABLE statements
- bsc#1158812, CVE-2019-19317: lookupName in resolve.c omits bits from the colUsed bitmask in the case of a generated column, which allows attackers to cause a denial of service
- bsc#1157818, CVE-2019-19244: sqlite3,sqlite2,sqlite: The function sqlite3Select in select.c allows a crash if a sub-select uses both DISTINCT and window functions, and also has certain ORDER BY usage
- bsc#928701, CVE-2015-3415: sqlite3VdbeExec comparison operator vulnerability
- bsc#928700, CVE-2015-3414: sqlite3,sqlite2: dequoting of collation-sequence names
- CVE-2020-13434 bsc#1172115: integer overflow in sqlite3_str_vappendf
- CVE-2020-13630 bsc#1172234: use-after-free in fts3EvalNextRow
- CVE-2020-13631 bsc#1172236: virtual table allowed to be renamed to one of its shadow tables
- CVE-2020-13632 bsc#1172240: NULL pointer dereference via crafted matchinfo() query
- CVE-2020-13435: Malicious SQL statements could have crashed the process that is running SQLite (bsc#1172091)
- Record
SUSE-SU-2021:3215-1- Updated
- 2026-11-02
OSVUSN-4019-1 No score
sqlite3 vulnerabilities
It was discovered that SQLite incorrectly handled certain SQL files. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-2518, CVE-2017-2520)
It was discovered that SQLite incorrectly handled certain queries. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-20505)
It was discovered that SQLite incorrectly handled certain queries. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-20346, CVE-2018-20506)
It was discovered that SQLite incorrectly handled certain inputs. An attacker could possibly use this issue to access sensitive information. (CVE-2019-8457)
It was discovered that SQLite incorrectly handled certain queries. An attacker could possibly use this issue to access sensitive information. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2019-9936)
It was discovered that SQLite incorrectly handled certain inputs. An attacker could possibly use this issue to cause a crash or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2019-9937)
It was discovered that SQLite incorrectly handled certain inputs. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-6153)
It was discovered that SQLite incorrectly handled certain databases. An attacker could possibly use this issue to access sensitive information. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-10989)
It was discovered that SQLite incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-13685)
It was discovered that SQLite incorrectly handled certain queries. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-2519)
- Record
USN-4019-1- Updated
- 2026-11-02
OSVUSN-4019-2 No score
sqlite3 vulnerabilities
USN-4019-1 fixed several vulnerabilities in sqlite3. This update provides the corresponding update for Ubuntu 12.04 ESM and 14.04 ESM.
Original advisory details:
It was discovered that SQLite incorrectly handled certain SQL files. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2017-2518)
It was discovered that SQLite incorrectly handled certain queries. An attacker could possibly use this issue to execute arbitrary code. (CVE-2018-20346, CVE-2018-20506)
It was discovered that SQLite incorrectly handled certain inputs. An attacker could possibly use this issue to access sensitive information. (CVE-2019-8457)
It was discovered that SQLite incorrectly handled certain inputs. An attacker could possibly use this issue to cause a denial of service. (CVE-2016-6153)
It was discovered that SQLite incorrectly handled certain databases. An attacker could possibly use this issue to access sensitive information. This issue only affected Ubuntu 14.04 LTS. (CVE-2017-10989)
It was discovered that SQLite incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service. (CVE-2017-13685)
- Record
USN-4019-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sqlite3Debian:12 |
before 3.13.0-1 | 3.13.0-1 |
sqlite3Debian:13 |
before 3.13.0-1 | 3.13.0-1 |
sqlite3Debian:14 |
before 3.13.0-1 | 3.13.0-1 |
sqliteDebian:10 |
before 2.8.17-15+deb10u1, plus listed versions 2.8.17-15 |
2.8.17-15+deb10u1 |
sqlite3Debian:7 |
before 3.7.13-1+deb7u3, plus listed versions 3.7.13-1+deb7u13.7.13-1+deb7u2 |
3.7.13-1+deb7u3 |
sqlite3Mageia:5 |
before 3.8.10.2-1.2.mga5 | 3.8.10.2-1.2.mga5 |
sqliteMageia:8 |
before 2.8.17-26.1.mga8 | 2.8.17-26.1.mga8 |
sqlite3SUSE:Linux Enterprise Desktop 12 SP1 |
before 3.8.10.2-3.1 | 3.8.10.2-3.1 |
sqlite3SUSE:Linux Enterprise Software Development Kit 12 SP1 |
before 3.8.10.2-3.1 | 3.8.10.2-3.1 |
sqlite3SUSE:Linux Enterprise Server 12 SP1 |
before 3.8.10.2-3.1 | 3.8.10.2-3.1 |
Show 23 moreShow less
| Package | Affected | Fixed |
|---|---|---|
sqlite3SUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 3.8.10.2-3.1 | 3.8.10.2-3.1 |
sqlite3SUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 3.7.6.3-1.4.6.1 | 3.7.6.3-1.4.6.1 |
sqlite3SUSE:Linux Enterprise Server 11 SP4 |
before 3.7.6.3-1.4.6.1 | 3.7.6.3-1.4.6.1 |
sqlite3SUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 3.7.6.3-1.4.6.1 | 3.7.6.3-1.4.6.1 |
sqlite3SUSE:Studio Onsite 1.3 |
before 3.7.6.3-1.4.6.1 | 3.7.6.3-1.4.6.1 |
sqlite3SUSE:Linux Enterprise Server 12-LTSS |
before 3.8.3.1-2.7.1 | 3.8.3.1-2.7.1 |
sqlite3SUSE:HPE Helion OpenStack 8 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:OpenStack Cloud 8 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:OpenStack Cloud 9 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:OpenStack Cloud Crowbar 8 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:OpenStack Cloud Crowbar 9 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:Linux Enterprise Server 12 SP2-BCL |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:Linux Enterprise Server 12 SP3-LTSS |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:Linux Enterprise Server 12 SP3-BCL |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:Linux Enterprise Server 12 SP4-LTSS |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:Linux Enterprise Server 12 SP5 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3SUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 3.36.0-9.18.1 | 3.36.0-9.18.1 |
sqlite3Ubuntu:Pro:14.04:LTS |
before 3.8.2-1ubuntu2.2+esm1, plus listed versions 3.7.17-1ubuntu13.8.0.2-1ubuntu13.8.1-1ubuntu13.8.1-1ubuntu33.8.2-1ubuntu13.8.2-1ubuntu23.8.2-1ubuntu2.13.8.2-1ubuntu2.2 |
3.8.2-1ubuntu2.2+esm1 |
sqlite3Ubuntu:16.04:LTS |
before 3.11.0-1ubuntu1.2, plus listed versions 3.8.11.1-13.9.1-23.9.2-13.10.0-13.10.1-13.10.2-13.11.0-1ubuntu13.11.0-1ubuntu1.1 |
3.11.0-1ubuntu1.2 |
sqlite3Ubuntu:18.04:LTS |
before 3.22.0-1ubuntu0.1, plus listed versions 3.19.3-33.20.1-23.21.0-13.22.0-1 |
3.22.0-1ubuntu0.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
tenable.com/security/tns-2016-20
lists.opensuse.org/opensuse-updates/2016-08/msg00053.html
sqlite.org/releaselog/3_13_0.html
openwall.com/lists/oss-security/2016/07/01/2
securityfocus.com/bid/91546
sqlite.org/cgi/src/info/67985761aa93fb61
Show 91 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IGQTH7V45QVHFDXJAEECHEO3HHD644WZ
korelogic.com/Resources/Advisories/KL-001-2016-003.txt
openwall.com/lists/oss-security/2016/07/01/1
usn.ubuntu.com/4019-1
usn.ubuntu.com/4019-2
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK
lists.debian.org/debian-lts-announce/2023/05/msg00022.html
nvd.nist.gov/vuln/detail/CVE-2016-6153
lists.fedoraproject.org/archives/list/[email protected]/message/IGQTH7V45QVHFDXJAEECHEO3HHD644WZ
lists.fedoraproject.org/archives/list/[email protected]/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK
github.com/advisories/GHSA-c7vx-xpvf-fj57
docs.bell-sw.com/security/cves/CVE-2016-6153
security-tracker.debian.org/tracker/CVE-2016-6153
advisories.mageia.org/MGASA-2016-0255.html
bugs.mageia.org/show_bug.cgi?id=18869
lwn.net/Alerts/693549
advisories.mageia.org/MGASA-2023-0208.html
bugs.mageia.org/show_bug.cgi?id=32018
debian.org/lts/security/2023/dla-3431
suse.com/support/update/announcement/2016/suse-su-20161945-1
bugzilla.suse.com/987394
suse.com/security/cve/CVE-2016-6153
suse.com/support/update/announcement/2016/suse-su-20162021-1
suse.com/support/update/announcement/2019/suse-su-20190973-1
bugzilla.suse.com/1119687
bugzilla.suse.com/1131576
suse.com/security/cve/CVE-2018-20346
suse.com/security/cve/CVE-2018-20506
suse.com/support/update/announcement/2021/suse-su-20213215-1
bugzilla.suse.com/1157818
bugzilla.suse.com/1158812
bugzilla.suse.com/1158958
bugzilla.suse.com/1158959
bugzilla.suse.com/1158960
bugzilla.suse.com/1159491
bugzilla.suse.com/1159715
bugzilla.suse.com/1159847
bugzilla.suse.com/1159850
bugzilla.suse.com/1160309
bugzilla.suse.com/1160438
bugzilla.suse.com/1160439
bugzilla.suse.com/1164719
bugzilla.suse.com/1172091
bugzilla.suse.com/1172115
bugzilla.suse.com/1172234
bugzilla.suse.com/1172236
bugzilla.suse.com/1172240
bugzilla.suse.com/1173641
bugzilla.suse.com/928700
bugzilla.suse.com/928701
suse.com/security/cve/CVE-2015-3414
suse.com/security/cve/CVE-2015-3415
suse.com/security/cve/CVE-2017-10989
suse.com/security/cve/CVE-2017-2518
suse.com/security/cve/CVE-2018-8740
suse.com/security/cve/CVE-2019-16168
suse.com/security/cve/CVE-2019-19244
suse.com/security/cve/CVE-2019-19317
suse.com/security/cve/CVE-2019-19603
suse.com/security/cve/CVE-2019-19645
suse.com/security/cve/CVE-2019-19646
suse.com/security/cve/CVE-2019-19880
suse.com/security/cve/CVE-2019-19923
suse.com/security/cve/CVE-2019-19924
suse.com/security/cve/CVE-2019-19925
suse.com/security/cve/CVE-2019-19926
suse.com/security/cve/CVE-2019-19959
suse.com/security/cve/CVE-2019-20218
suse.com/security/cve/CVE-2019-8457
suse.com/security/cve/CVE-2020-13434
suse.com/security/cve/CVE-2020-13435
suse.com/security/cve/CVE-2020-13630
suse.com/security/cve/CVE-2020-13631
suse.com/security/cve/CVE-2020-13632
suse.com/security/cve/CVE-2020-15358
suse.com/security/cve/CVE-2020-9327
ubuntu.com/security/CVE-2016-6153
ubuntu.com/security/notices/USN-4019-1
ubuntu.com/security/notices/USN-4019-2
cve.org/CVERecord?id=CVE-2016-6153
ubuntu.com/security/CVE-2017-2518
ubuntu.com/security/CVE-2017-2519
ubuntu.com/security/CVE-2017-2520
ubuntu.com/security/CVE-2017-10989
ubuntu.com/security/CVE-2017-13685
ubuntu.com/security/CVE-2018-20346
ubuntu.com/security/CVE-2018-20505
ubuntu.com/security/CVE-2018-20506
ubuntu.com/security/CVE-2019-8457
ubuntu.com/security/CVE-2019-9936
ubuntu.com/security/CVE-2019-9937