Every CVE Search/ Get API key

CVE-2016-6153

os_unix.c in SQLite before 3.13.0 improperly implements the temporary directory search algorithm,...

5.9 MediumFix available

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

0.48%Down 1.1 points since Feb 4, 2022
90%50%10%1%

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 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 2.0
4.6 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
sqlite3
Debian:12
before 3.13.0-1
3.13.0-1
sqlite3
Debian:13
before 3.13.0-1
3.13.0-1
sqlite3
Debian:14
before 3.13.0-1
3.13.0-1
sqlite
Debian:10
before 2.8.17-15+deb10u1, plus listed versions
2.8.17-15
2.8.17-15+deb10u1
sqlite3
Debian:7
before 3.7.13-1+deb7u3, plus listed versions
3.7.13-1+deb7u13.7.13-1+deb7u2
3.7.13-1+deb7u3
sqlite3
Mageia:5
before 3.8.10.2-1.2.mga5
3.8.10.2-1.2.mga5
sqlite
Mageia:8
before 2.8.17-26.1.mga8
2.8.17-26.1.mga8
sqlite3
SUSE:Linux Enterprise Desktop 12 SP1
before 3.8.10.2-3.1
3.8.10.2-3.1
sqlite3
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 3.8.10.2-3.1
3.8.10.2-3.1
sqlite3
SUSE:Linux Enterprise Server 12 SP1
before 3.8.10.2-3.1
3.8.10.2-3.1
Show 23 moreShow less
Affected packages
PackageAffectedFixed
sqlite3
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 3.8.10.2-3.1
3.8.10.2-3.1
sqlite3
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 3.7.6.3-1.4.6.1
3.7.6.3-1.4.6.1
sqlite3
SUSE:Linux Enterprise Server 11 SP4
before 3.7.6.3-1.4.6.1
3.7.6.3-1.4.6.1
sqlite3
SUSE: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
sqlite3
SUSE:Studio Onsite 1.3
before 3.7.6.3-1.4.6.1
3.7.6.3-1.4.6.1
sqlite3
SUSE:Linux Enterprise Server 12-LTSS
before 3.8.3.1-2.7.1
3.8.3.1-2.7.1
sqlite3
SUSE:HPE Helion OpenStack 8
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:OpenStack Cloud 8
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:OpenStack Cloud 9
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:OpenStack Cloud Crowbar 8
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:OpenStack Cloud Crowbar 9
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:Linux Enterprise Server 12 SP2-BCL
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:Linux Enterprise Server 12 SP3-BCL
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:Linux Enterprise Server 12 SP5
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 3.36.0-9.18.1
3.36.0-9.18.1
sqlite3
Ubuntu: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
sqlite3
Ubuntu: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
sqlite3
Ubuntu: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

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 91 moreShow less
MoveEnter Open