The snprintf implementation in PostgreSQL before 9.0.20, 9.1.x before 9.1.16, 9.2.x before 9.2.11, 9.3.x before 9.3.7, and 9.4.x before 9.4.2 does not properly handle system-call errors, which allows attackers to obtain sensitive information or have other unspecified impact via unknown vectors, as demonstrated by an out-of-memory error.
CVE-2015-3166
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 4.6%, top 9% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 50(Track)EG Risk 50/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation5% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 5%
- EPSS %ILE
- 91%
- KEV
- Not listed
Published
November 20, 2019
Last Modified
November 21, 2024
Advisory Details (8)
Auto-updated Sep 22, 2026PostgreSQL: Documentation: 9.4: Release 9.4.2
http://www.postgresql.org/docs/9.4/static/release-9-4-2.htmlPostgreSQL: Documentation: 9.3: Release 9.3.7
http://www.postgresql.org/docs/9.3/static/release-9-3-7.htmlPostgreSQL: Documentation: 9.2: Release 9.2.11
http://www.postgresql.org/docs/9.2/static/release-9-2-11.htmlPostgreSQL: Documentation: 9.1: Release 9.1.16
http://www.postgresql.org/docs/9.1/static/release-9-1-16.htmlPostgreSQL: Documentation: 9.0: Release 9.0.20
http://www.postgresql.org/docs/9.0/static/release-9-0-20.htmlPostgreSQL: PostgreSQL 9.4.2, 9.3.7, 9.2.11, 9.1.16, and 9.0.20 released!
http://www.postgresql.org/about/news/1587/[SECURITY] [DSA 3270-1] postgresql-9.4 security update
http://www.debian.org/security/2015/dsa-3270[SECURITY] [DSA 3269-1] postgresql-9.1 security update
http://www.debian.org/security/2015/dsa-3269Vendor Advisories for CVE-2015-3166(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2015:1194Red Hat Product SecurityMedium
Red Hat Security Advisory: postgresql security update
- RHSA-2015:1195Red Hat Product SecurityMedium
Red Hat Security Advisory: postgresql92-postgresql security update
- RHSA-2015:1196Red Hat Product SecurityMedium
Red Hat Security Advisory: rh-postgresql94-postgresql security update
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | postgresql-9.4 (9.4.2-0ubuntu0.14.10) @ utopic | 2026-05-27 | ubuntu |
| redhat | rh-postgresql94-postgresql-0:9.4.4-1.el7 | 2015-06-29 | redhat |
| redhat | postgresql-0:9.2.13-1.ael7b_1 | 2015-06-29 | redhat |
| redhat | postgresql92-postgresql-0:9.2.13-1.el7 | 2015-06-29 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 3 ecosystems)
Debian:8(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-9.1 | 9.1.15-0+deb8u1 | 9.1.16-0+deb8u1 | — |
| postgresql-9.4 | 9.4.1-1 | 9.4.2-0+deb8u1 | — |
Debian:6.0(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-8.4 | 8.4.10-0squeeze1 ... 8.4.9-1 (45 versions) | 8.4.22lts2-0+deb6u2 | — |
Debian:7(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-9.1 | 9.1.10-0wheezy1 ... 9.1.9-5 (21 versions) | 9.1.16-0+deb7u1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 3× in last 7d / 17× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 122 total refreshes for this CVE.
- 2026-09-20 20:08 UTCEPSS rescore
- 2026-09-19 15:35 UTCEPSS rescore
- 2026-09-18 19:22 UTCEPSS rescore
- 2026-09-17 19:21 UTCEPSS rescore
- 2026-09-15 03:05 UTCEPSS rescore
- 2026-09-12 14:55 UTCEPSS rescore
- 2026-09-11 09:31 UTCEPSS rescore
- 2026-09-10 09:26 UTCEPSS rescore
- 2026-09-07 15:56 UTCEPSS rescore
- 2026-09-06 13:42 UTCEPSS rescore
- 2026-09-05 15:23 UTCEPSS rescore
- 2026-09-04 13:55 UTCEPSS rescore
- 2026-09-02 14:07 UTCEPSS rescore
- 2026-09-01 03:31 UTCEPSS rescore
- 2026-08-30 19:12 UTCEPSS rescore
- 2026-08-27 14:20 UTCEPSS rescore
- 2026-08-26 14:41 UTCEPSS rescore
- 2026-08-25 13:44 UTCEPSS rescore
- 2026-08-21 23:44 UTCEPSS rescore
- 2026-08-20 22:50 UTCEPSS rescore
- 2026-08-19 16:59 UTCEPSS rescore
- 2026-08-18 13:43 UTCEPSS rescore
- 2026-08-16 14:51 UTCEPSS rescore
- 2026-08-16 02:09 UTCEPSS rescore
- 2026-08-15 01:25 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-12 13:46 UTCEPSS rescore
- 2026-08-09 13:42 UTCEPSS rescore
- 2026-08-08 16:31 UTCEPSS rescore
- 2026-08-07 16:22 UTCEPSS rescore
- 2026-08-06 13:42 UTCEPSS rescore
- 2026-08-05 19:12 UTCEPSS rescore
- 2026-08-04 15:04 UTCEPSS rescore
- 2026-08-02 02:22 UTCEPSS rescore
- 2026-08-01 04:11 UTCEPSS rescore
- 2026-07-30 16:23 UTCEPSS rescore
- 2026-07-30 01:26 UTCEPSS rescore
- 2026-07-28 15:31 UTCEPSS rescore
- 2026-07-26 14:50 UTCEPSS rescore
- 2026-07-24 14:13 UTCEPSS rescore
- 2026-07-23 14:14 UTCEPSS rescore
- 2026-07-23 01:17 UTCEG score recompute
- 2026-07-23 00:19 UTCEG score recompute
- 2026-07-22 21:58 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-19 14:27 UTCEPSS rescore
- 2026-07-19 14:27 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-12 05:42 UTCEPSS rescore
- 2026-07-11 08:23 UTCEPSS rescore
- 2026-07-09 19:05 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-04 06:27 UTCEPSS rescore
- 2026-07-02 15:21 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:15 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:8:postgresql-9.1 · Debian:8:postgresql-9.4
- CVE-2015-3167EG 7.5EPSS p90HIGH
- CVE-2015-3165EG 4.3EPSS p95MEDIUM
- CVE-2016-0773EG 7.5EPSS p94HIGH
- CVE-2015-5288EG 6.4EPSS p91MEDIUM
- CVE-2017-7546EG 9.8EPSS p99CRITICAL
- CVE-2017-7547EG 8.8EPSS p93HIGH
- CVE-2016-0766EG 8.8EPSS p90HIGH
- CVE-2016-5423EG 8.3EPSS p93HIGH
- CVE-2017-7486EG 7.5EPSS p93HIGH
- CVE-2016-5424EG 7.1EPSS p91HIGH
Same vendor
2 shownredhat:RHSA-2015:1194
Frequently asked(5)
What is CVE-2015-3166?
When was CVE-2015-3166 disclosed?
Is CVE-2015-3166 actively exploited?
What is the CVSS score of CVE-2015-3166?
How do I remediate CVE-2015-3166?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2015-3166
Is Your Infrastructure Affected by CVE-2015-3166?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.