postgresql: Stack-based buffer overflow via setting a password
Published Jun 26, 2019
8.8
HIGHCVSS 3.1
EPSS 3.71%
Description
PostgreSQL versions 10.x before 10.9 and versions 11.x before 11.4 are vulnerable to a stack-based buffer overflow. Any authenticated user can overflow a stack-based buffer by changing the user's own password to a purpose-crafted value. This often suffices to execute arbitrary code as the PostgreSQL operating system account.
Affected products
-
- Version 10.9StatusaffectedConstraints-
- Version 11.4StatusaffectedConstraints-
- 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 | PostgreSQL | n/a |
|
Configuration 1
- ≥ 10.0 · < 10.9
- ≥ 11.0 · < 11.4
Configuration 2
- 8.0
Configuration 3
- 29
- 30
No data.
Red Hat Enterprise Linux 8
libpq-0:12.1-3.el8
Fixed · RHEA-2020:0343
Red Hat Enterprise Linux 8
postgresql:10-8020020200825115746.4cda2c84
Fixed · RHSA-2020:3669
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions
postgresql:10-8000020201214113918.f8e95b4e
Fixed · RHSA-2020:5664
Red Hat Enterprise Linux 8.1 Extended Update Support
postgresql:10-8010020201214112129.c27ad7f8
Fixed · RHSA-2021:0166
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql10-postgresql-0:10.12-2.el7
Fixed · RHSA-2020:0980
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-postgresql10-postgresql-0:10.12-2.el7
Fixed · RHSA-2020:0980
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-postgresql10-postgresql-0:10.12-2.el7
Fixed · RHSA-2020:0980
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-postgresql10-postgresql-0:10.12-2.el7
Fixed · RHSA-2020:0980
Red Hat Decision Manager 7
postgresql
Not affected
Red Hat Enterprise Linux 5
postgresql
Not affected
Red Hat Enterprise Linux 6
postgresql
Not affected
Red Hat Enterprise Linux 7
postgresql
Not affected
Red Hat Enterprise Linux 8
postgresql:12/postgresql
Not affected
Red Hat Enterprise Linux 8
postgresql:9.6/postgresql
Not affected
Red Hat Process Automation 7
postgresql
Not affected
Red Hat Satellite 5
rh-postgresql95
Not affected
Red Hat Satellite 5
rh-postgresql95-postgresql
Not affected
Red Hat Satellite 6
postgresql
Not affected
Red Hat Software Collections
rh-postgresql96-postgresql
Not affected
Red Hat Storage 3
rhevm-dependencies
Not affected
Red Hat Virtualization 4
rh-postgresql10-postgresql
Not affected
Red Hat Virtualization 4
rh-postgresql95
Not affected
Red Hat Virtualization 4
rh-postgresql95-postgresql
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libpq-0:12.1-3.el8 | Fixed | RHEA-2020:0343 |
| Red Hat Enterprise Linux 8 | postgresql:10-8020020200825115746.4cda2c84 | Fixed | RHSA-2020:3669 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | postgresql:10-8000020201214113918.f8e95b4e | Fixed | RHSA-2020:5664 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | postgresql:10-8010020201214112129.c27ad7f8 | Fixed | RHSA-2021:0166 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql10-postgresql-0:10.12-2.el7 | Fixed | RHSA-2020:0980 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql10-postgresql-0:10.12-2.el7 | Fixed | RHSA-2020:0980 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-postgresql10-postgresql-0:10.12-2.el7 | Fixed | RHSA-2020:0980 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-postgresql10-postgresql-0:10.12-2.el7 | Fixed | RHSA-2020:0980 |
| Red Hat Decision Manager 7 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 6 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 7 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 8 | postgresql:12/postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 8 | postgresql:9.6/postgresql | Not affected | n/a |
| Red Hat Process Automation 7 | postgresql | Not affected | n/a |
| Red Hat Satellite 5 | rh-postgresql95 | Not affected | n/a |
| Red Hat Satellite 5 | rh-postgresql95-postgresql | Not affected | n/a |
| Red Hat Satellite 6 | postgresql | Not affected | n/a |
| Red Hat Software Collections | rh-postgresql96-postgresql | Not affected | n/a |
| Red Hat Storage 3 | rhevm-dependencies | Not affected | n/a |
| Red Hat Virtualization 4 | rh-postgresql10-postgresql | Not affected | n/a |
| Red Hat Virtualization 4 | rh-postgresql95 | Not affected | n/a |
| Red Hat Virtualization 4 | rh-postgresql95-postgresql | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:S/C:C/I:C/A:C
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
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.71% (0.03711) | 89.41th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.71% (0.03711) | 88.30th | v5 (v2026.06.15) |
| Jun 10, 2026 | 10.17% (0.10171) | 93.28th | v4 (v2025.03.14) |
| May 27, 2026 | 11.38% (0.11379) | 93.66th | v4 (v2025.03.14) |
| Apr 17, 2026 | 13.39% (0.13393) | 94.21th | v4 (v2025.03.14) |
| Nov 21, 2025 | 5.24% (0.05235) | 89.52th | v4 (v2025.03.14) |
| Nov 18, 2025 | 48.74% (0.48740) | 97.62th | v4 (v2025.03.14) |
| Sep 24, 2025 | 6.19% (0.06195) | 90.50th | v4 (v2025.03.14) |
| Mar 30, 2025 | 5.01% (0.05010) | 88.72th | v4 (v2025.03.14) |
| Mar 29, 2025 | 12.38% (0.12384) | 89.79th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.01% (0.05010) | 88.98th | v4 (v2025.03.14) |
| Dec 17, 2024 | 48.87% (0.48866) | 97.58th | v3 (v2023.03.01) |
| Nov 16, 2024 | 71.47% (0.71469) | 98.15th | v3 (v2023.03.01) |
| Jun 19, 2024 | 72.90% (0.72899) | 98.11th | v3 (v2023.03.01) |
| Feb 9, 2024 | 77.68% (0.77682) | 98.11th | v3 (v2023.03.01) |
| Nov 8, 2023 | 80.85% (0.80854) | 98.01th | v3 (v2023.03.01) |
| Mar 7, 2023 | 84.39% (0.84392) | 97.86th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.42% (0.02422) | 81.55th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.42% (0.02422) | 79.80th | v2 (v2022.01.01) |
| Feb 4, 2022 | 21.65% (0.21647) | 94.24th | v2 (v2022.01.01) |
| Feb 3, 2022 | 10.45% (0.10445) | 87.57th | v1 |
| Jan 6, 2022 | 10.45% (0.10445) | 87.43th | v1 |
| Sep 1, 2021 | 2.53% (0.02534) | 78.81th | v1 |
| Apr 14, 2021 | 2.53% (0.02534) | 0.00th | v1 |
References (11)
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00035.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-10164 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1719698 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10164 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MAGE6H4FWLKFLHLWVYNPYGQRPIXTUWGB/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTKEHXGDXYYD6WYDIIQJP4GDQJSENDJK/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-10164
- https://security.gentoo.org/glsa/202003-03 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-10164
- https://www.postgresql.org/about/news/1949/ x_refsource_MISCVendor Advisory
- https://www.postgresql.org/support/security/
Change history (0)
No recorded changes yet.