Improper Neutralization of Newlines Vulnerability in PostgreSQL
CVE-2025-8715
What is CVE-2025-8715?
This vulnerability arises from an improper neutralization of newlines in the pg_dump utility of PostgreSQL. An attacker can leverage this flaw to execute arbitrary code during the restoration process, using the client operating system account that runs the psql command for restoring dumps. Additionally, the vulnerability may lead to SQL injection attacks, particularly for superusers on the target server during the restore operation. Notably, the issues affect not only pg_dump but also pg_dumpall, pg_restore, and pg_upgrade. This problem was reintroduced in PostgreSQL 11.20, following previous assurances of mitigation in CVE-2012-0868.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
PostgreSQL 17 < 17.6
PostgreSQL 16 < 16.10
PostgreSQL 15 < 15.14
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved