cve.bz

CVE-2019-10164 Out-of-bounds Write

8.8 highEPSS 3.6%

High (8.8). EPSS 3.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
3.6% (unchanged from 3.6% a week ago; 3.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-10164 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-10164?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-10164?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-10164 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresqlfrom 10.0 before 10.9
postgresql:postgresqlfrom 11.0 before 11.4
redhat:enterprise_linux8.0
fedoraproject:fedora29
fedoraproject:fedora30
opensuse:leap15.0
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTSpostgresql-1010.9-0ubuntu0.18.04.1UBUNTU-CVE-2019-10164 USN-4027-1
Red Hatenterprise_linux:8::appstreamlibpq, libpq-devel, libpq-debuginfo and 2 more0:12.1-3.el8RHEA-2020:0343
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:10.14-1.module+el8.2.0+7801+be0fed80RHSA-2020:3669
Red Hatrhel_e4s:8.0::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:10.15-1.module+el8.0.0+9155+4a85661aRHSA-2020:5664
Red Hatrhel_eus:8.1::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:10.15-1.module+el8.1.0+9154+cd474635RHSA-2021:0166
Red Hatrhel_software_collections:3::el7rh-postgresql10-postgresql, rh-postgresql10-postgresql-docs, rh-postgresql10-postgresql-libs and 12 more0:10.12-2.el7RHSA-2020:0980
SUSEEnterprise Storage 4, Enterprise Storage 5, Linux Enterprise Desktop 12 SP4 and 13 morepostgresql10-libs10.9-1.12.1SUSE-SU-2019:1783-1
SUSEEnterprise Storage 4, Enterprise Storage 5, Linux Enterprise Desktop 12 SP4 and 12 morepostgresql1010.9-1.12.2SUSE-SU-2019:1783-1
SUSEEnterprise Storage 5postgresql1010.9-1.12.2SUSE-SU-2019:1783-3
SUSEEnterprise Storage 5postgresql10-libs10.9-1.12.1SUSE-SU-2019:1783-3
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 1 morepostgresql1010.9-1.12.2SUSE-SU-2019:1783-2
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 1 morepostgresql10-libs10.9-1.12.1SUSE-SU-2019:1783-2
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Package Hub 15, Linux Enterprise Module for Server Applications 15postgresql1010.9-4.13.2SUSE-SU-2019:1810-1
SUSELinux Enterprise Module for Basesystem 15 SP1python-psycopg22.8.4-5.4.6SUSE-RU-2020:1280-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1postgresql12-8.11.3SUSE-RU-2020:1280-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1postgresql1010.12-8.13.9SUSE-RU-2020:1280-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1postgresql1010.9-8.3.1SUSE-SU-2019:2012-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1postgresql12, postgresql12-libs12.2-3.5.2SUSE-RU-2020:1280-1
openSUSELeap 15.0, Leap 15.1postgresql1010.9-lp151.2.3.1openSUSE-SU-2019:1773-1
openSUSETumbleweedpostgresql1010.18-1.3openSUSE-SU-2024:11184-1
openSUSETumbleweedpostgresql1111.13-1.3openSUSE-SU-2024:11185-1
Alpinev3.7, v3.8postgresql10.9-r0ALPINE-CVE-2019-10164
Alpinev3.9, v3.10, v3.11 and 3 morepostgresql11.4-r0ALPINE-CVE-2019-10164
Alpinev3.15, v3.16postgresql1411.4-r0ALPINE-CVE-2019-10164
Alpinev3.17, v3.18, v3.19 and 1 morepostgresql14, postgresql1511.4-r0ALPINE-CVE-2019-10164

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libpq-0:12.1-3.el8Fixed 2020-02-04RHEA-2020:0343
Red Hat Enterprise Linux 8postgresql:10-8020020200825115746.4cda2c84Fixed 2020-09-08RHSA-2020:3669
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionspostgresql:10-8000020201214113918.f8e95b4eFixed 2020-12-22RHSA-2020:5664
Red Hat Enterprise Linux 8.1 Extended Update Supportpostgresql:10-8010020201214112129.c27ad7f8Fixed 2021-01-18RHSA-2021:0166
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-postgresql10-postgresql-0:10.12-2.el7Fixed 2020-03-26RHSA-2020:0980
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-postgresql10-postgresql-0:10.12-2.el7Fixed 2020-03-26RHSA-2020:0980
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-postgresql10-postgresql-0:10.12-2.el7Fixed 2020-03-26RHSA-2020:0980
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-postgresql10-postgresql-0:10.12-2.el7Fixed 2020-03-26RHSA-2020:0980
Red Hat Decision Manager 7postgresqlNot affected
Red Hat Enterprise Linux 5postgresqlNot affected
Red Hat Enterprise Linux 6postgresqlNot affected
Red Hat Enterprise Linux 7postgresqlNot affected
Red Hat Enterprise Linux 8postgresql:12/postgresqlNot affected
Red Hat Enterprise Linux 8postgresql:9.6/postgresqlNot affected
Red Hat Process Automation 7postgresqlNot affected
Red Hat Satellite 5rh-postgresql95Not affected
Red Hat Satellite 5rh-postgresql95-postgresqlNot affected
Red Hat Satellite 6postgresqlNot affected
Red Hat Software Collectionsrh-postgresql96-postgresqlNot affected
Red Hat Storage 3rhevm-dependenciesNot affected
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-10164.

References

Check your stackJSON