Advisory

DEBIAN-CVE-2025-8714

Also known as: CVE-2025-8714

Summary

The record has no summary.

Details

Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands. pg_dumpall is also affected. pg_restore is affected when used to generate a plain-format dump. This is similar to MySQL CVE-2024-21096. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

Severity

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

Dates

Published
2025-08-14 13:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

postgresql-15

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 15.19-0+deb12u1 (ecosystem)

Fixed versions

15.19-0+deb12u1

Fix

  • Fixed version 15.19-0+deb12u1
    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) · Debian 13

Affected

  • introduced 0, fixed 17.6-0+deb13u1 (ecosystem)

Fixed versions

17.6-0+deb13u1

Fix

  • Fixed version 17.6-0+deb13u1
    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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences