synced 2 MIN AGO
01 Record

CVE-2025-8713

PostgreSQL optimizer statistics can expose sampled data within a view, partition, or child table

LowPUBLISHEDCNA: PostgreSQL
CNA base score3.1 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

02 Description

PostgreSQL optimizer statistics can expose sampled data within a view, partition, or child table

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.23% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 14.4% of scored records. A rank, not a probability.
NVD base score
3.1 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD analysis status
Deferred. NVD last modified this record on 2026-06-17.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2025-08-14 13:00Z1 YR AGO
Last updated
2025-08-14 19:51Z1 YR AGO
Reserved
2025-08-07
Assigning CNA
PostgreSQL
Record state
PUBLISHED
Severity
Low (CVSS 3.1)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
  • CWE-1230Exposure of Sensitive Information Through MetadataBase
Data version
5.1
Document digest
101a1125fbc0423d913a1c46ebe69cb2ac38712cc0bbca931868813fa328253b

05 Affected products

VendorProductVersionsPlatforms
n/aPostgreSQL17 to < 17.6, 16 to < 16.10, 15 to < 15.14, 14 to < 14.19, 0 to < 13.22—

06 References

07 Fixed in

AlmaLinux 9

  • pg_repack
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.8-2.module_el9.5.0+119+18833d03
    • Affected before 1.5.1-1.module_el9.6.0+146+c54fdeca
  • pgaudit
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.7.0-1.module_el9.3.0+52+21733919
    • Affected before 16.0-1.module_el9.4.0+66+eb9878bc
  • pgvector
    Fixed in 0.6.2-2.module_el9.6.0+167+4e561146
  • postgres-decoderbufs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.9.7-1.Final.module_el9.3.0+52+21733919
    • Affected before 2.4.0-1.Final.module_el9.4.0+66+eb9878bc
  • postgresql
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-contrib
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-plperl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-plpython3
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-pltcl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-private-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-private-libs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-server-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-static
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-test-rpm-macros
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-upgrade
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-upgrade-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • pg_repack
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.8-2.module_el9.5.0+119+18833d03
    • Affected before 1.5.1-1.module_el9.6.0+146+c54fdeca
  • pgaudit
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.7.0-1.module_el9.3.0+52+21733919
    • Affected before 16.0-1.module_el9.4.0+66+eb9878bc
  • pgvector
    Fixed in 0.6.2-2.module_el9.6.0+167+4e561146
  • postgres-decoderbufs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.9.7-1.Final.module_el9.3.0+52+21733919
    • Affected before 2.4.0-1.Final.module_el9.4.0+66+eb9878bc
  • postgresql
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-contrib
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-plperl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-plpython3
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-pltcl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-private-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-private-libs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-server-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-static
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-test-rpm-macros
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-upgrade
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0
  • postgresql-upgrade-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 15.14-1.module_el9.6.0+176+c508cfa2
    • Affected before 16.10-1.module_el9.6.0+174+80cb77f0

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • postgresql-15
    Fixed in 15.14-0+deb12u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • postgresql-17
    Fixed in 17.6-0+deb13u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • postgresql-12
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • postgresql-14
    Fixed in 14.19-0ubuntu0.22.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • postgresql-16
    Fixed in 16.10-0ubuntu0.24.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • postgresql-17
    Fixed in 17.6-1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • postgresql-9.3
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • postgresql-9.5
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • postgresql-10
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.