CVE-2015-3166Postgresql
Critical 9.8 No auth needed
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.6% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Nov 20, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Postgresql.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | < 9.0.20 |
| postgresql | postgresql | ≥ 9.1 < 9.1.16 |
| postgresql | postgresql | ≥ 9.2 < 9.2.11 |
| postgresql | postgresql | ≥ 9.3 < 9.3.7 |
| postgresql | postgresql | ≥ 9.4 < 9.4.2 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 14.10 |
| canonical | ubuntu_linux | 15.04 |
Official sources
References
Links published by the sources. Open them with care.
- ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.postgresql.org Vendor Advisory
- www.postgresql.org Release Notes Vendor Advisory
- www.postgresql.org Release Notes Vendor Advisory
- www.postgresql.org Release Notes Vendor Advisory
- www.postgresql.org Release Notes Vendor Advisory
- www.postgresql.org Release Notes Vendor Advisory