Skip to content
Noroxi
CVE-2019-10130· NVD / CVE Program· CNA redhat

A vulnerability was found in PostgreSQL versions 11.x up to excluding 11.3, 10.x up to excluding 10.8, 9.6.x up to, excluding 9.6.13, 9.5.x

A vulnerability was found in PostgreSQL versions 11.x up to excluding 11.3, 10.x up to excluding 10.8, 9.6.x up to, excluding 9.6.13, 9.5.x up to, excluding 9.5.17. PostgreSQL maintains column statistics for tables. Certain statistics, such as histograms and lists of most common values, contain values taken from the column. PostgreSQL does not evaluate row security policies before consulting those statistics during query planning; an attacker can exploit this to read the most common values of certain columns. Affected columns are those for which the attacker has SELECT privilege and for which, in an ordinary query, row-level security prunes the set of rows visible to the attacker.

MediumCVSS 4.3 · v3.1—No exploit Fix available
Published
Jul 30, 2019
Updated
Jun 16, 2026
EPSS
1.1% · 64th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

17

Monitor

Low priority for now.

CVSS
17 / 40 · 4.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.1%

CNA vs NVD score

NVD
4.3
CNA · redhat
3.1
1.2 point gap

CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
postgresqlpostgresql
opensuseleap

Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • postgresql postgresql9.5.0 and later · before 9.5.17
  • postgresql postgresql9.6.0 and later · before 9.6.13
  • postgresql postgresql10.0 and later · before 10.8
  • postgresql postgresql11.0 and later · before 11.3

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • PostgreSQL Project postgresql

    • 11.x up to, excluding 11.3, 10.x up to, excluding 10.8, 9.6.x up to, excluding 9.6.13, 9.5.x up to, excluding 9.5.17affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10postgresqlfrom 9.5.0 · before 11.3-r011.3-r0
Alpine:v3.15postgresql14before 11.3-r011.3-r0
Alpine:v3.17postgresql15before 11.3-r011.3-r0
Alpine:v3.6postgresqlfrom 9.5.0 · before 9.6.13-r09.6.13-r0
Alpine:v3.7postgresqlfrom 9.5.0 · before 10.8-r010.8-r0
Debian:9postgresql-9.6before 9.6.13-0+deb9u19.6.13-0+deb9u1
openSUSE:Leap 15.0postgresql10before 10.9-lp151.2.3.110.9-lp151.2.3.1
openSUSE:Leap 15.1postgresqlbefore 12.0.1-lp151.6.9.112.0.1-lp151.6.9.1
openSUSE:Leap 15.1postgresql10before 10.13-lp151.2.14.110.13-lp151.2.14.1
openSUSE:Leap 15.1postgresql12before 12.3-lp151.2.112.3-lp151.2.1
openSUSE:Leap 15.1postgresql96before 9.6.19-lp151.3.3.19.6.19-lp151.3.3.1
openSUSE:Tumbleweedpostgresql10before 10.18-1.310.18-1.3
openSUSE:Tumbleweedpostgresql11before 11.13-1.311.13-1.3
Red Hat:enterprise_linux:8::appstreampostgresqlbefore 0:10.14-1.module+el8.2.0+7801+be0fed800:10.14-1.module+el8.2.0+7801+be0fed80
Red Hat:enterprise_linux:8::appstreampostgresqlbefore 0:9.6.20-1.module+el8.3.0+8938+7f0e88b60:9.6.20-1.module+el8.3.0+8938+7f0e88b6
Red Hat:enterprise_linux:8::appstreampostgresql-contribbefore 0:9.6.20-1.module+el8.3.0+8938+7f0e88b60:9.6.20-1.module+el8.3.0+8938+7f0e88b6
Red Hat:enterprise_linux:8::appstreampostgresql-contribbefore 0:10.14-1.module+el8.2.0+7801+be0fed800:10.14-1.module+el8.2.0+7801+be0fed80
Red Hat:enterprise_linux:8::appstreampostgresql-contrib-debuginfobefore 0:9.6.20-1.module+el8.3.0+8938+7f0e88b60:9.6.20-1.module+el8.3.0+8938+7f0e88b6
Red Hat:enterprise_linux:8::appstreampostgresql-contrib-debuginfobefore 0:10.14-1.module+el8.2.0+7801+be0fed800:10.14-1.module+el8.2.0+7801+be0fed80
Red Hat:enterprise_linux:8::appstreampostgresql-debuginfobefore 0:9.6.20-1.module+el8.3.0+8938+7f0e88b60:9.6.20-1.module+el8.3.0+8938+7f0e88b6
Red Hat:enterprise_linux:8::appstreampostgresql-debuginfobefore 0:10.14-1.module+el8.2.0+7801+be0fed800:10.14-1.module+el8.2.0+7801+be0fed80
Red Hat:enterprise_linux:8::appstreampostgresql-debugsourcebefore 0:10.14-1.module+el8.2.0+7801+be0fed800:10.14-1.module+el8.2.0+7801+be0fed80
Red Hat:enterprise_linux:8::appstreampostgresql-debugsourcebefore 0:9.6.20-1.module+el8.3.0+8938+7f0e88b60:9.6.20-1.module+el8.3.0+8938+7f0e88b6
Red Hat:enterprise_linux:8::appstreampostgresql-docsbefore 0:10.14-1.module+el8.2.0+7801+be0fed800:10.14-1.module+el8.2.0+7801+be0fed80

+96

Other highest-scoring records for the same primary product.

  • CVE-2017-7546PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers
    57Plan
  • CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to
    55Plan
  • CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.
    49Plan
  • CVE-2007-3280The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE statements that map to arbitrary libraries based on the
    44Plan
  • CVE-2013-1899Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to ca
    42Plan
  • CVE-2018-16850postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ...
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:postgresql11.3-r0 · Alpine:v3.10Package registry (OSV)
alpine:postgresql1411.3-r0 · Alpine:v3.15Package registry (OSV)
alpine:postgresql1511.3-r0 · Alpine:v3.17Package registry (OSV)
debian:postgresql-9.69.6.13-0+deb9u1 · Debian:9Package registry (OSV)
opensuse:postgresql12.0.1-lp151.6.9.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:postgresql1010.9-lp151.2.3.1 · openSUSE:Leap 15.0Package registry (OSV)
opensuse:postgresql1111.13-1.3 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:postgresql1212.3-lp151.2.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:postgresql969.6.19-lp151.3.3.1 · openSUSE:Leap 15.1Package registry (OSV)
red hat:rh-postgresql10-postgresql0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-contrib0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-contrib-syspaths0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-debuginfo0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-devel0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-docs0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-libs0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-plperl0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-plpython0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-pltcl0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-server0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-postgresql10-postgresql-server-syspaths0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
suse:postgresql1010.8-1.9.1 · SUSE:Linux Enterprise Desktop 12 SP3Package registry (OSV)
suse:postgresql10-libs10.8-1.9.1 · SUSE:Linux Enterprise Desktop 12 SP3Package registry (OSV)
suse:postgresql969.6.13-3.25.1 · SUSE:Linux Enterprise Desktop 12 SP3Package registry (OSV)
suse:postgresql96-libs9.6.13-3.25.1 · SUSE:Linux Enterprise Desktop 12 SP3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records