This report was translated by AI; nobody has reviewed the translation yet. Original language: Czech.

[TLP:CLEAR] PostgreSQL fixes 3 vulnerabilities

PostgreSQL fixes 3 vulnerabilities with versions 17.6, 16.10, 15.14, 14.19, 13.22 and 18 Beta 3 [1].

PostgreSQL - arbitrary code execution (CVE-2025-8714)
CVSS 8.8 (High)

Due to insecure handling of untrusted data in pg_dump in PostgreSQL, an unauthenticated remote attacker who is a superuser of the source server can inject arbitrary code and have it executed during restore under the account of the system performing the psql restore [1].

The vulnerability is present in product:

  • PostgreSQL; >=17.0, <17.6; >=16.0, <16.10; >=15.0, <15.14; >=14.0, <14.19; >=13.0, <13.22

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

More information:

The vulnerability was publicly disclosed 14. 8. 2025.

PostgreSQL - arbitrary code execution (CVE-2025-8715)
CVSS 8.8 (High)

Due to improper neutralization of newline characters in pg_dump in PostgreSQL, an unauthenticated remote attacker can inject arbitrary code and have it executed during restore under the account of the system performing the psql restore, or alternatively perform SQL injection as a superuser of the target server [1].

The vulnerability is present in product:

  • PostgreSQL; >=17.0, <17.6; >=16.0, <16.10; >=15.0, <15.14; >=14.0, <14.19; >=13.0, <13.22

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

More information:

The vulnerability was publicly disclosed 14. 8. 2025.

PostgreSQL - statistics data exposure (CVE-2025-8713)
CVSS 3.1 (Low)

Due to insufficient protection of optimizer statistics in PostgreSQL, an authenticated remote attacker can read sampled data even from tables protected by access privileges or row-level security policies [1].

The vulnerability is present in product:

  • PostgreSQL; >=17.0, <17.6; >=16.0, <16.10; >=15.0, <15.14; >=14.0, <14.19; >=13.0, <13.22

CVSS: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

More information:

The vulnerability was publicly disclosed 14. 8. 2025.


By CESNET, z.s.p.o. Michaela Jarošová on 2. 9. 2025.

CESNET, z.s.p.o. Logo