A vulnerability was found in PostgreSQL up to 13.18/14.15/15.10/16.6/17.2. It has been declared as critical. Affected by this vulnerability is the function PQescapeLiteral/PQescapeIdentifier/PQescapeString/PQescapeStringConn. The manipulation leads to improper neutralization of quoting syntax.

This vulnerability is known as CVE-2025-1094. The attack can be launched remotely. There is no exploit available.

It is recommended to upgrade the affected component.