cve.bz

CVE-2025-8713

3.1 lowEPSS 0.4%

Low (3.1). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

3.1 low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.4% (up from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-08-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1230 Exposure of Sensitive Information Through Metadata
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-8713 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8713?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8713?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-2025-8713 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.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11postgresql-1313.22-0+deb11u1DLA-4273-1
Debian12postgresql-1515.14-0+deb12u1DEBIAN-CVE-2025-8713
Debian13postgresql-1717.6-0+deb13u1DEBIAN-CVE-2025-8713
Ubuntu20.04:LTSpostgresql-12no fix listedUBUNTU-CVE-2025-8713
Ubuntu22.04:LTSpostgresql-1414.19-0ubuntu0.22.04.1UBUNTU-CVE-2025-8713 USN-7741-1
Ubuntu24.04:LTSpostgresql-1616.10-0ubuntu0.24.04.1UBUNTU-CVE-2025-8713 USN-7741-1
Ubuntu25.10postgresql-1717.6-1UBUNTU-CVE-2025-8713
UbuntuPro:14.04:LTSpostgresql-9.3no fix listedUBUNTU-CVE-2025-8713
UbuntuPro:16.04:LTSpostgresql-9.5no fix listedUBUNTU-CVE-2025-8713
UbuntuPro:18.04:LTSpostgresql-10no fix listedUBUNTU-CVE-2025-8713
Red Hatenterprise_linux:9::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.8-2.module+el9.5.0+22224+f5585c78RHSA-2025:14862
Red Hatenterprise_linux:9::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.5.1-1.module+el9.6.0+22880+6b241eecRHSA-2025:14827
Red Hatenterprise_linux:9::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.7.0-1.module+el9.2.0+17405+aeb9ec60RHSA-2025:14862
Red Hatenterprise_linux:9::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:16.0-1.module+el9.4.0+20427+07482b8cRHSA-2025:14827
Red Hatenterprise_linux:9::appstreampgvector, pgvector-debuginfo, pgvector-debugsource0:0.6.2-2.module+el9.6.0+22979+c3d78d52RHSA-2025:14827
Red Hatenterprise_linux:9::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:1.9.7-1.Final.module+el9.2.0+17405+aeb9ec60RHSA-2025:14862
Red Hatenterprise_linux:9::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:2.4.0-1.Final.module+el9.4.0+20427+07482b8cRHSA-2025:14827
Red Hatenterprise_linux:9::appstreampostgresql, postgresql-docs, postgresql-test and 25 more0:15.14-1.module+el9.6.0+23419+7863ab62RHSA-2025:14862
Red Hatenterprise_linux:9::appstreampostgresql, postgresql-docs, postgresql-test and 25 more0:16.10-1.module+el9.6.0+23420+848a4539RHSA-2025:14827
Red Hatenterprise_linux:9::appstreampostgresql, postgresql-pltcl, postgresql-plperl and 18 more0:13.22-1.el9_6RHSA-2025:14878
Red Hatenterprise_linux:9::crbpostgresql-docs, postgresql-test, postgresql-static and 17 more0:13.22-1.el9_6RHSA-2025:14878
Red Hatrhel_aus:8.4::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.5.0-1.module+el8.4.0+8873+b821c30aRHSA-2025:15057
30 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 morepostgresql1515.14-150200.5.44.1SUSE-SU-2025:03030-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 morepostgresql1717.6-150200.5.16.1SUSE-SU-2025:02995-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morepostgresql1616.10-150200.5.32.1SUSE-SU-2025:02981-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 morepostgresql1414.19-150200.5.61.1SUSE-SU-2025:03031-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 5 morepostgresql1313.22-150200.5.75.2SUSE-SU-2025:02994-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP6 and 3 morepostgresql1717.6-150600.13.16.1SUSE-SU-2025:02986-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Legacy 15 SP7, Linux Enterprise Module for Package Hub 15 SP6 and 3 morepostgresql1616.10-150600.16.21.1SUSE-SU-2025:03005-1 SUSE-SU-2025:03005-2
SUSELinux Enterprise Module for Legacy 15 SP6, Linux Enterprise Module for Legacy 15 SP7postgresql1515.14-150600.16.20.1SUSE-SU-2025:03018-1
SUSELinux Enterprise Module for Legacy 15 SP6, Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7postgresql1414.19-150600.16.20.1SUSE-SU-2025:03019-1
SUSELinux Enterprise Module for Legacy 15 SP7postgresql1414.19-150600.16.20.1SUSE-SU-2025:03019-2
SUSELinux Enterprise Module for Legacy 15 SP7postgresql1515.14-150600.16.20.1SUSE-SU-2025:03018-2
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5postgresql1313.22-3.66.1SUSE-SU-2025:03003-1
4 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6postgresql1313.22-150600.14.11.1SUSE-SU-2025:02842-1
openSUSELeap 15.6postgresql1414.19-150600.16.20.1SUSE-SU-2025:03019-1
openSUSELeap 15.6postgresql1515.14-150600.16.20.1SUSE-SU-2025:03018-1
openSUSELeap 15.6postgresql1616.10-150600.16.21.1SUSE-SU-2025:03005-1 SUSE-SU-2025:03005-2
openSUSELeap 15.6postgresql1717.6-150600.13.16.1SUSE-SU-2025:02986-1
openSUSETumbleweedpostgresql1313.22-1.1openSUSE-SU-2025:15450-1
openSUSETumbleweedpostgresql1414.19-1.1openSUSE-SU-2025:15451-1
openSUSETumbleweedpostgresql1515.14-1.1openSUSE-SU-2025:15452-1
openSUSETumbleweedpostgresql1616.10-1.1openSUSE-SU-2025:15453-1
openSUSETumbleweedpostgresql1717.6-1.1openSUSE-SU-2025:15455-1
openSUSETumbleweedpostgresql1818.7-1.1openSUSE-SU-2026:12654-1
AlmaLinux9pg_repack1.4.8-2.module_el9.5.0+119+18833d03ALSA-2025:14862
AlmaLinux9pg_repack1.5.1-1.module_el9.6.0+146+c54fdecaALSA-2025:14827
AlmaLinux9pgaudit1.7.0-1.module_el9.3.0+52+21733919ALSA-2025:14862
AlmaLinux9pgaudit16.0-1.module_el9.4.0+66+eb9878bcALSA-2025:14827
AlmaLinux9pgvector0.6.2-2.module_el9.6.0+167+4e561146ALSA-2025:14827
AlmaLinux9postgres-decoderbufs1.9.7-1.Final.module_el9.3.0+52+21733919ALSA-2025:14862
AlmaLinux9postgres-decoderbufs2.4.0-1.Final.module_el9.4.0+66+eb9878bcALSA-2025:14827
AlmaLinux9postgresql, postgresql-docs, postgresql-test and 12 more15.14-1.module_el9.6.0+176+c508cfa2ALSA-2025:14862
AlmaLinux9postgresql, postgresql-docs, postgresql-test and 12 more16.10-1.module_el9.6.0+174+80cb77f0ALSA-2025:14827
Alpinev3.19, v3.20, v3.21 and 3 morepostgresql1616.10-r0ALPINE-CVE-2025-8713
Alpinev3.19, v3.20, v3.22postgresql1515.14-r0ALPINE-CVE-2025-8713
Alpinev3.21postgresql1515.17-r0ALPINE-CVE-2025-8713
Alpinev3.21, v3.22, v3.23 and 1 morepostgresql1717.6-r0ALPINE-CVE-2025-8713
Azure Linux2postgresql14.19-1AZL-66321
Azure Linux3postgresql16.10-1AZL-66300
Alpaquita23postgresql1515.14-r0BELL-CVE-2025-8713
Alpaquita25, streampostgresql1717.6-r0BELL-CVE-2025-8713

From the distributions' data via OSV.dev: the Debian Security Tracker; 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; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpostgresql:13-8040020250818170654.522a0ee4Fixed 2025-09-02RHSA-2025:15057
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportpostgresql:13-8060020250825094024.ad008a3aFixed 2025-09-04RHSA-2025:15359
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicepostgresql:13-8060020250825094024.ad008a3aFixed 2025-09-04RHSA-2025:15359
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionspostgresql:13-8060020250825094024.ad008a3aFixed 2025-09-04RHSA-2025:15359
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicepostgresql:13-8080020250819150623.63b34585Fixed 2025-09-02RHSA-2025:15013
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicepostgresql:15-8080020250815150643.63b34585Fixed 2025-09-02RHSA-2025:15031
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionspostgresql:13-8080020250819150623.63b34585Fixed 2025-09-02RHSA-2025:15013
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionspostgresql:15-8080020250815150643.63b34585Fixed 2025-09-02RHSA-2025:15031
Red Hat Enterprise Linux 9postgresql:16-9060020250817200213.rhel9Fixed 2025-08-28RHSA-2025:14827
Red Hat Enterprise Linux 9postgresql:15-9060020250817180313.rhel9Fixed 2025-08-28RHSA-2025:14862
Red Hat Enterprise Linux 9postgresql-0:13.22-1.el9_6Fixed 2025-08-28RHSA-2025:14878
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionspostgresql-0:13.22-1.el9_0Fixed 2025-08-28RHSA-2025:14870
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionspostgresql-0:13.22-1.el9_2Fixed 2025-08-28RHSA-2025:14869
Red Hat Enterprise Linux 10postgresql16Affected
Red Hat Enterprise Linux 6postgresqlOut of support scope
Red Hat Enterprise Linux 7postgresqlFix deferred
Red Hat Enterprise Linux 8postgresql:12/postgresqlAffected
Red Hat Enterprise Linux 8postgresql:13/postgresqlAffected
Red Hat Enterprise Linux 8postgresql:15/postgresqlAffected
Red Hat Enterprise Linux 8postgresql:16/postgresqlAffected
4 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-2025-8713.

References

Check your stackJSON