cbcvebase.
CVE-2025-8714
published 2025-08-14

CVE-2025-8714: 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…

PriorityP354high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
0.74%
50.4th percentile
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.

Affected

5 ranges
VendorProductVersion rangeFixed in
debianpostgresql-13< postgresql-13 13.22-0+deb11u1 (bullseye)postgresql-13 13.22-0+deb11u1 (bullseye)
debianpostgresql-15< postgresql-13 13.22-0+deb11u1 (bullseye)postgresql-13 13.22-0+deb11u1 (bullseye)
debianpostgresql-17< postgresql-13 13.22-0+deb11u1 (bullseye)postgresql-13 13.22-0+deb11u1 (bullseye)
msrcazl3_postgresql_16.9-1_on_azure_linux_3.0
msrccbl2_postgresql_14.18-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv4.9MEDIUM
vendor_msrc8.8HIGH
vendor_debian4.9MEDIUM
vendor_redhat4.9MEDIUM
vendor_ubuntu3.1LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.