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.
- BDU:2019-04641
- DSA-4439-1
- openSUSE-SU-2019:1773-1
- openSUSE-SU-2020:1227-1
- openSUSE-SU-2024:11184-1
- openSUSE-SU-2024:11185-1
- RHSA-2020:0980
- RHSA-2020:3669
- RHSA-2020:4295
- RHSA-2020:5619
- RHSA-2020:5661
- RHSA-2020:5664
- RHSA-2021:0164
- RHSA-2021:0166
- RHSA-2021:0167
- SUSE-SU-2019:1511-1
- SUSE-SU-2019:1687-1
- SUSE-SU-2019:1810-1
- SUSE-SU-2019:2012-1
- Published
- Jul 30, 2019
- Updated
- Jun 16, 2026
- EPSS
- 1.1% · 64th percentile
- CWE
- CWE-284
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
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
| Vendor | Product | CPE |
|---|---|---|
| postgresql | postgresql | cpe:2.3:a:postgresql:postgresql |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)
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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | postgresql | from 9.5.0 · before 11.3-r0 | 11.3-r0 |
| Alpine:v3.15 | postgresql14 | before 11.3-r0 | 11.3-r0 |
| Alpine:v3.17 | postgresql15 | before 11.3-r0 | 11.3-r0 |
| Alpine:v3.6 | postgresql | from 9.5.0 · before 9.6.13-r0 | 9.6.13-r0 |
| Alpine:v3.7 | postgresql | from 9.5.0 · before 10.8-r0 | 10.8-r0 |
| Debian:9 | postgresql-9.6 | before 9.6.13-0+deb9u1 | 9.6.13-0+deb9u1 |
| openSUSE:Leap 15.0 | postgresql10 | before 10.9-lp151.2.3.1 | 10.9-lp151.2.3.1 |
| openSUSE:Leap 15.1 | postgresql | before 12.0.1-lp151.6.9.1 | 12.0.1-lp151.6.9.1 |
| openSUSE:Leap 15.1 | postgresql10 | before 10.13-lp151.2.14.1 | 10.13-lp151.2.14.1 |
| openSUSE:Leap 15.1 | postgresql12 | before 12.3-lp151.2.1 | 12.3-lp151.2.1 |
| openSUSE:Leap 15.1 | postgresql96 | before 9.6.19-lp151.3.3.1 | 9.6.19-lp151.3.3.1 |
| openSUSE:Tumbleweed | postgresql10 | before 10.18-1.3 | 10.18-1.3 |
| openSUSE:Tumbleweed | postgresql11 | before 11.13-1.3 | 11.13-1.3 |
| Red Hat:enterprise_linux:8::appstream | postgresql | before 0:10.14-1.module+el8.2.0+7801+be0fed80 | 0:10.14-1.module+el8.2.0+7801+be0fed80 |
| Red Hat:enterprise_linux:8::appstream | postgresql | before 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 | 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 |
| Red Hat:enterprise_linux:8::appstream | postgresql-contrib | before 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 | 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 |
| Red Hat:enterprise_linux:8::appstream | postgresql-contrib | before 0:10.14-1.module+el8.2.0+7801+be0fed80 | 0:10.14-1.module+el8.2.0+7801+be0fed80 |
| Red Hat:enterprise_linux:8::appstream | postgresql-contrib-debuginfo | before 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 | 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 |
| Red Hat:enterprise_linux:8::appstream | postgresql-contrib-debuginfo | before 0:10.14-1.module+el8.2.0+7801+be0fed80 | 0:10.14-1.module+el8.2.0+7801+be0fed80 |
| Red Hat:enterprise_linux:8::appstream | postgresql-debuginfo | before 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 | 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 |
| Red Hat:enterprise_linux:8::appstream | postgresql-debuginfo | before 0:10.14-1.module+el8.2.0+7801+be0fed80 | 0:10.14-1.module+el8.2.0+7801+be0fed80 |
| Red Hat:enterprise_linux:8::appstream | postgresql-debugsource | before 0:10.14-1.module+el8.2.0+7801+be0fed80 | 0:10.14-1.module+el8.2.0+7801+be0fed80 |
| Red Hat:enterprise_linux:8::appstream | postgresql-debugsource | before 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 | 0:9.6.20-1.module+el8.3.0+8938+7f0e88b6 |
| Red Hat:enterprise_linux:8::appstream | postgresql-docs | before 0:10.14-1.module+el8.2.0+7801+be0fed80 | 0:10.14-1.module+el8.2.0+7801+be0fed80 |
+96
Same product
postgresql: all recordsOther 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 attackers57Plan
- 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 the44Plan
- 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 ca42Plan
- 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 / package | Fixed version | Source |
|---|---|---|
| alpine:postgresql | 11.3-r0 · Alpine:v3.10 | Package registry (OSV) |
| alpine:postgresql14 | 11.3-r0 · Alpine:v3.15 | Package registry (OSV) |
| alpine:postgresql15 | 11.3-r0 · Alpine:v3.17 | Package registry (OSV) |
| debian:postgresql-9.6 | 9.6.13-0+deb9u1 · Debian:9 | Package registry (OSV) |
| opensuse:postgresql | 12.0.1-lp151.6.9.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:postgresql10 | 10.9-lp151.2.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:postgresql11 | 11.13-1.3 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:postgresql12 | 12.3-lp151.2.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:postgresql96 | 9.6.19-lp151.3.3.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-contrib | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-contrib-syspaths | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-debuginfo | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-devel | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-docs | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-libs | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-plperl | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-plpython | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-pltcl | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-server | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-postgresql10-postgresql-server-syspaths | 0:10.12-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| suse:postgresql10 | 10.8-1.9.1 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:postgresql10-libs | 10.8-1.9.1 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:postgresql96 | 9.6.13-3.25.1 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:postgresql96-libs | 9.6.13-3.25.1 · SUSE:Linux Enterprise Desktop 12 SP3 | Package 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.
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.
Credits
All researchersFinders, 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
Weakness class (CWE)
CWE-284 · Improper Access ControlCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Embedding Scripts within ScriptsCAPEC-19likelihood: High · High
- Malicious Logic InsertionCAPEC-441likelihood: Medium · High
- Modification of Windows Service ConfigurationCAPEC-478likelihood: Low · High
- Malicious Root CertificateCAPEC-479likelihood: Low · Low
- Intent SpoofCAPEC-502
- WebView ExposureCAPEC-503
- Data Injected During ConfigurationCAPEC-536likelihood: Low · High
- Incomplete Data Deletion in a Multi-Tenant EnvironmentCAPEC-546likelihood: Low · Medium
ATT&CK techniques
- RootkitT1014
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Initialization ScriptsT1037
- Taint shared contentT1080
- Server Software Component: Terminal Services DLLT1505.005
- Pre-OS Boot:BootkitT1542.003
- Create or Modify System ProcessT1543
- Create or Modify System Process: Launch AgentT1543.001
- Create or Modify System Process:Windows ServiceT1543.003
- Create or Modify System Process: Launch DaemonT1543.004
- Event Triggered Execution:Change Default File AssociationT1546.001
- Event Triggered Execution:.bash_profile and .bashrcT1546.004
- Event Triggered Execution: Accessibility FeaturesT1546.008
- Event Triggered Execution: Installer PackagesT1546.016
- Boot or Logon Autostart ExecutionT1547
- Boot or Logon Autostart Execution:Kernel Modules and ExtensionsT1547.006
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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10130
- security.gentoo.org/glsa/202003-03
- www.postgresql.org/about/news/1939/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.