Advisory

UBUNTU-CVE-2025-8713

Also known as: CVE-2025-8713

Summary

The record has no summary.

Details

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

Low Basis: CVSS v3 score 3.1, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2025-08-14 13:15 UTC
Modified
2026-04-22 16:17 UTC

Affected packages and fixes

postgresql-12

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

postgresql-14

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 14.19-0ubuntu0.22.04.1 (ecosystem)

Fixed versions

14.19-0ubuntu0.22.04.1

Fix

  • Fixed version 14.19-0ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-16

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 16.10-0ubuntu0.24.04.1 (ecosystem)

Fixed versions

16.10-0ubuntu0.24.04.1

Fix

  • Fixed version 16.10-0ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-17

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 17.6-1 (ecosystem)

Fixed versions

17.6-1

Fix

  • Fixed version 17.6-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences