CVE-2025-8714 Affecting postgresql:12/postgresql-static package, versions <0:12.22-5.module_el8.10.0+4043+6cac3079


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.03% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-POSTGRESQL-12485178
  • published4 Sept 2025
  • disclosed28 Aug 2025

Introduced: 28 Aug 2025

NewCVE-2025-8714  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 postgresql:12/postgresql-static to version 0:12.22-5.module_el8.10.0+4043+6cac3079 or higher.
This issue was patched in ALSA-2025:15115.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql:12/postgresql-static package and not the postgresql:12/postgresql-static package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1