postgresql: unanticipated errors from the standard library
Published Nov 20, 2019
9.8
CRITICALCVSS 3.1
EPSS 4.61%
Description
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.
Affected products
-
- Version 9.1.x before 9.1.16StatusaffectedConstraints-
- Version 9.2.x before 9.2.11StatusaffectedConstraints-
- Version 9.3.x before 9.3.7StatusaffectedConstraints-
- Version and 9.4.x before 9.4.2StatusaffectedConstraints-
- Version before 9.0.20StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PostgreSQL Global Development Group | PostgreSQL | n/a |
|
Configuration 1
- < 9.0.20
- ≥ 9.1 · < 9.1.16
- ≥ 9.2 · < 9.2.11
- ≥ 9.3 · < 9.3.7
- ≥ 9.4 · < 9.4.2
Configuration 2
- 7.0
- 8.0
- 9.0
Configuration 3
- 12.04
- 14.04
- 14.10
- 15.04
No data.
Red Hat Enterprise Linux 6
postgresql-0:8.4.20-3.el6_6
Fixed · RHSA-2015:1194
Red Hat Enterprise Linux 7
postgresql-0:9.2.13-1.ael7b_1
Fixed · RHSA-2015:1194
Red Hat Software Collections for Red Hat Enterprise Linux 6
postgresql92-postgresql-0:9.2.13-1.el6
Fixed · RHSA-2015:1195
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql94-postgresql-0:9.4.4-1.el6
Fixed · RHSA-2015:1196
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
postgresql92-postgresql-0:9.2.13-1.el6
Fixed · RHSA-2015:1195
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
rh-postgresql94-postgresql-0:9.4.4-1.el6
Fixed · RHSA-2015:1196
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
postgresql92-postgresql-0:9.2.13-1.el6
Fixed · RHSA-2015:1195
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
rh-postgresql94-postgresql-0:9.4.4-1.el6
Fixed · RHSA-2015:1196
Red Hat Software Collections for Red Hat Enterprise Linux 7
postgresql92-postgresql-0:9.2.13-1.el7
Fixed · RHSA-2015:1195
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql94-postgresql-0:9.4.4-1.el7
Fixed · RHSA-2015:1196
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
postgresql92-postgresql-0:9.2.13-1.el7
Fixed · RHSA-2015:1195
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
rh-postgresql94-postgresql-0:9.4.4-1.el7
Fixed · RHSA-2015:1196
CloudForms Management Engine 5
postgresql
Affected
CloudForms Management Engine 5
postgresql92-postgresql
Affected
Red Hat Enterprise Linux 5
postgresql
Affected
Red Hat Enterprise Linux 5
postgresql84
Affected
Red Hat Satellite 5
postgresql92
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | postgresql-0:8.4.20-3.el6_6 | Fixed | RHSA-2015:1194 |
| Red Hat Enterprise Linux 7 | postgresql-0:9.2.13-1.ael7b_1 | Fixed | RHSA-2015:1194 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | postgresql92-postgresql-0:9.2.13-1.el6 | Fixed | RHSA-2015:1195 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql94-postgresql-0:9.4.4-1.el6 | Fixed | RHSA-2015:1196 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | postgresql92-postgresql-0:9.2.13-1.el6 | Fixed | RHSA-2015:1195 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | rh-postgresql94-postgresql-0:9.4.4-1.el6 | Fixed | RHSA-2015:1196 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | postgresql92-postgresql-0:9.2.13-1.el6 | Fixed | RHSA-2015:1195 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-postgresql94-postgresql-0:9.4.4-1.el6 | Fixed | RHSA-2015:1196 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | postgresql92-postgresql-0:9.2.13-1.el7 | Fixed | RHSA-2015:1195 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql94-postgresql-0:9.4.4-1.el7 | Fixed | RHSA-2015:1196 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | postgresql92-postgresql-0:9.2.13-1.el7 | Fixed | RHSA-2015:1195 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | rh-postgresql94-postgresql-0:9.4.4-1.el7 | Fixed | RHSA-2015:1196 |
| CloudForms Management Engine 5 | postgresql | Affected | n/a |
| CloudForms Management Engine 5 | postgresql92-postgresql | Affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql | Affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql84 | Affected | n/a |
| Red Hat Satellite 5 | postgresql92 | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This flaw has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.61% (0.04611) | 91.39th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.65% (0.04649) | 90.53th | v5 (v2026.06.15) |
| Apr 12, 2026 | 5.39% (0.05386) | 90.12th | v4 (v2025.03.14) |
| Apr 11, 2026 | 2.83% (0.02825) | 86.17th | v4 (v2025.03.14) |
| Jan 18, 2026 | 1.69% (0.01688) | 81.78th | v4 (v2025.03.14) |
| Jul 31, 2025 | 3.30% (0.03300) | 86.73th | v4 (v2025.03.14) |
| Apr 12, 2025 | 4.91% (0.04914) | 88.67th | v4 (v2025.03.14) |
| Apr 10, 2025 | 6.25% (0.06247) | 90.02th | v4 (v2025.03.14) |
| Mar 30, 2025 | 4.91% (0.04914) | 88.61th | v4 (v2025.03.14) |
| Mar 29, 2025 | 11.69% (0.11689) | 89.42th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.91% (0.04914) | 88.88th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.15% (0.01151) | 85.45th | v3 (v2023.03.01) |
| Mar 8, 2024 | 0.93% (0.00933) | 82.61th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.93% (0.00933) | 80.61th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
References (13)
- http://ubuntu.com/usn/usn-2621-1 x_refsource_MISCThird Party Advisory
- http://www.debian.org/security/2015/dsa-3269 x_refsource_MISCThird Party Advisory
- http://www.debian.org/security/2015/dsa-3270 x_refsource_MISCThird Party Advisory
- http://www.postgresql.org/about/news/1587/ x_refsource_MISCVendor Advisory
- http://www.postgresql.org/docs/9.0/static/release-9-0-20.html x_refsource_MISCRelease NotesVendor Advisory
- http://www.postgresql.org/docs/9.1/static/release-9-1-16.html x_refsource_MISCRelease NotesVendor Advisory
- http://www.postgresql.org/docs/9.2/static/release-9-2-11.html x_refsource_MISCRelease NotesVendor Advisory
- http://www.postgresql.org/docs/9.3/static/release-9-3-7.html x_refsource_MISCRelease NotesVendor Advisory
- http://www.postgresql.org/docs/9.4/static/release-9-4-2.html x_refsource_MISCRelease NotesVendor Advisory
- https://access.redhat.com/security/cve/CVE-2015-3166 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1221539 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-3166
- https://www.cve.org/CVERecord?id=CVE-2015-3166
Change history (0)
No recorded changes yet.