Skip to main content
CVE-2025-8715VulnerabilityPublished Updated

Postgresql 9.3: Improper neutralization of newlines

Affects postgresql-9.3Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2025-8715· High 8.8

Not known to be exploited · CVSS 8.8 High · fixed in 14.19-0ubuntu0.22.04.1 : patch postgresql-9.3 soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 14.19-0ubuntu0.22.04.1, 16.10-0ubuntu0.24.04.1, 17.6-1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu to 14.19-0ubuntu0.22.04.1 (postgresql-14 package) or 16.10-0ubuntu0.24.04.1 (postgresql-16 package) or 17.6-1 (postgresql-17 package).

Affected software

ProductAffectedFixed in
Ubuntu 25.10postgresql-17pkg:deb/ubuntu/postgresql-17?arch=source&distro=questingOther threatsAffected
  • <17.6-1
Fixed in
  • 17.6-1
Ubuntu 24.04 LTSpostgresql-16pkg:deb/ubuntu/postgresql-16?arch=source&distro=nobleOther threatsAffected
  • <16.10-0ubuntu0.24.04.1
Fixed in
  • 16.10-0ubuntu0.24.04.1
Ubuntu 22.04 LTSpostgresql-14pkg:deb/ubuntu/postgresql-14?arch=source&distro=jammyOther threatsAffected
  • <14.19-0ubuntu0.22.04.1
Fixed in
  • 14.19-0ubuntu0.22.04.1
Ubuntu 20.04 LTSpostgresql-12pkg:deb/ubuntu/postgresql-12?arch=source&distro=focalOther threatsAffected
  • 12.0-1 – 12.22-0ubuntu0.20.04.4
26 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSpostgresql-10pkg:deb/ubuntu/postgresql-10?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 10.1-1 – 10.23-0ubuntu0.18.04.2+esm3
26 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSpostgresql-9.5pkg:deb/ubuntu/postgresql-9.5?arch=source&distro=esm-infra/xenialOther threatsAffected
  • 9.5.0-1 – 9.5.25-0ubuntu0.16.04.1+esm10
34 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…