8.8

CVE-2025-8715: postgresql-17 CRLF Injection

CVSS: 8.8v3.1HighDeferred
AliasesALPINE-CVE-2025-8715RHSA-2025:15115UBUNTU-CVE-2025-8715
Published 14-08-2025Last modified 26-02-2026

Vulnerability summary

CVE-2025-8715 is a high (CVSS 8.8) CRLF Injection vulnerability in postgresql-17. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 35.6% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.43%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 47 · Related 24

Timeline

  1. 14-08-2025
    PublishedVulnerability first disclosed.
  2. 26-02-2026
    Last modifiedVulnerability information updated.

Description

Improper neutralization of newlines in pg_dump in PostgreSQL allows a user 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 inside a purpose-crafted object name. The same attacks can achieve SQL injection as a superuser of the restore target server. pg_dumpall, pg_restore, and pg_upgrade are also affected. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected. Versions before 11.20 are unaffected. CVE-2012-0868 had fixed this class of problem, but version 11.20 reintroduced it.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.43%

Chance of exploitation in the next 30 days

Percentile

36%

Versus all other CVEs

30-day change

+0.01 pp

From 0.41% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.43%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat34 products
  • pg_repack< 0:1.4.6-3.module+el8.9.0+19330+c97ddbdf
  • pg_repack-debuginfo< 0:1.4.6-3.module+el8.9.0+19330+c97ddbdf
  • pg_repack-debugsource< 0:1.4.6-3.module+el8.9.0+19330+c97ddbdf
  • pgaudit< 0:1.4.0-7.module+el8.10.0+22214+9beb89d6
  • pgaudit-debuginfo< 0:1.4.0-7.module+el8.10.0+22214+9beb89d6
Ubuntu7 products
  • postgresql-10All versions (No fix recorded)
  • postgresql-12All versions (No fix recorded)
  • postgresql-14< 14.19-0ubuntu0.22.04.1
  • postgresql-16< 16.10-0ubuntu0.24.04.1
  • postgresql-17< 17.6-1
Alpine3 products
  • postgresql15< 15.14-r0
  • postgresql16< 16.10-r0
  • postgresql17< 17.6-r0
Debian2 products
  • postgresql-15< 15.14-0+deb12u1
  • postgresql-17< 17.6-0+deb13u1

4 vendors · 46 products

References

14 links
Show all 14 references