CVE & CISA-KEV Catalog

CVE-2025-8713

LOW
3.1
CVSS v3
NVD

Description

PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately, statistics allow a user to read sampled data that a row security policy intended to hide. PostgreSQL maintains statistics for tables by sampling data available in columns; this data is consulted during the query planning process. Prior to this release, a user could craft a leaky operator that bypassed view access control lists (ACLs) and bypassed row security policies in partitioning or table inheritance hierarchies. Reachable statistics data notably included histograms and most-common-values lists. CVE-2017-7484 and CVE-2019-10130 intended to close this class of vulnerability, but this gap remained. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

How to fix

Remediation Available
postgresql15Amazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-contribAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-contrib-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-debugsourceAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-docsAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-docs-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-llvmjitAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-llvmjit-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-plperlAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-plperl-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-plpython3Amazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-plpython3-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-pltclAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-pltcl-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-private-develAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-private-libsAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-private-libs-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-serverAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-server-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-server-develAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-server-devel-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-staticAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-testAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-test-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-test-rpm-macrosAmazon
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-upgradeAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-upgrade-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-upgrade-develAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1
postgresql15-upgrade-devel-debuginfoAmazon
Fixed in:0:15.14-1.amzn2023.0.1
Fixed in:0:15.14-1.amzn2023.0.1

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

0.22%probability of exploitation in 30 days
13thpercentile

Low risk: more likely to be exploited than 13% of all known CVEs.

References

Other references1

Related Vulnerabilities

Other CWE-1230 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-1974Medium6.50.6%-Fix
CVE-2024-9447Medium6.50.6%--
CVE-2024-9099High8.10.6%--
CVE-2025-0330High7.50.5%--
CVE-2023-6962Medium5.30.4%-Fix
CVE-2024-47517Medium6.80.4%--

Common questions

How do I fix CVE-2025-8713?

Published advisories record a fix for 169 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2025-8713 being actively exploited?

Not that we know of. CVE-2025-8713 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.22% is the estimated probability that it will be exploited in the next 30 days. That is higher than 13% of all scored CVEs.

How severe is CVE-2025-8713?

CVE-2025-8713 has a CVSS v3 base score of 3.1, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-8713 affect?

Published advisories record a fix for postgresql15 (Amazon), postgresql15-contrib (Amazon), postgresql15-contrib-debuginfo (Amazon), postgresql15-debuginfo (Amazon), and 165 more. The list on this page is capped, so there may be more.

Embed a live status badge for CVE-2025-8713
CVE-2025-8713 severity badge

Markdown

[![CVE-2025-8713](https://tridentstack.com/cve/badge/CVE-2025-8713.svg)](https://tridentstack.com/cve/CVE-2025-8713)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-8713"><img src="https://tridentstack.com/cve/badge/CVE-2025-8713.svg" alt="CVE-2025-8713"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.