CVE-2019-10164: Buffer Overflow

Published Jun 12, 2019
·
Updated

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 Software

11 affected componentsFixes available
redhat/libpq<0:12.1-3.el8
0:12.1-3.el8
redhat/rh-postgresql10-postgresql<0:10.12-2.el7
0:10.12-2.el7
redhat/PostgreSQL<10.9
10.9
redhat/PostgreSQL<11.4
11.4
PostgreSQL postgresql>=10.0<10.9
PostgreSQL postgresql>=11.0<11.4
redhat Enterprise Linux=8.0
Fedoraproject Fedora=29
Fedoraproject Fedora=30
openSUSE Leap=15.0
openSUSE Leap=15.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libpq to a version that resolves this vulnerability.

    Fixed in 0:12.1-3.el8
  2. Upgrade

    Upgrade redhat/rh-postgresql10-postgresql to a version that resolves this vulnerability.

    Fixed in 0:10.12-2.el7
  3. Upgrade

    Upgrade redhat/PostgreSQL to a version that resolves this vulnerability.

    Fixed in 10.9
  4. Upgrade

    Upgrade redhat/PostgreSQL to a version that resolves this vulnerability.

    Fixed in 11.4
  5. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 10.9
  6. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 11.4

Event History

Jun 12, 2019
Data Sourced
via Red Hat·11:21 AM
DescriptionSeverityAffected Software
Jun 20, 2019
CVE Published
12:00 AM
Jun 26, 2019
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID of this PostgreSQL vulnerability?

The vulnerability ID of this PostgreSQL vulnerability is CVE-2019-10164.

2

What versions of PostgreSQL are affected by this vulnerability?

PostgreSQL versions 10.x before 10.9 and versions 11.x before 11.4 are affected by this vulnerability.

3

How does this vulnerability occur?

This vulnerability occurs due to a stack-based buffer overflow.

4

What can an authenticated user do with this vulnerability?

An authenticated user can overflow a stack-based buffer by changing their own password to a purpose-crafted value, which can often suffice to execute arbitrary code as the PostgreSQL process.

5

What is the severity of this vulnerability?

The severity of this vulnerability is critical with a CVSS score of 8.8.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203