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…

PriorityP353high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
0.76%
55.1th 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

19 ranges
VendorProductVersion rangeFixed in
ansible-automation-platformbootc-automation-portal-rhel9——
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——
postgresqlpostgresql——
postgresqlpostgresql>= 14.0 < 14.2414.24
postgresqlpostgresql>= 15.0 < 15.1915.19
postgresqlpostgresql>= 16.0 < 16.1516.15
postgresqlpostgresql>= 17.0 < 17.1117.11
postgresqlpostgresql>= 18.0 < 18.518.5
postgresql_12postgresql——
postgresql_15postgresql——
postgresql_16postgresql——
postgresql_18postgresql——
ubuntupostgresql-14——
ubuntupostgresql-16——
ubuntupostgresql-18——

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_redhat8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian4.9MEDIUM
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.