Technical impact
The vulnerability arises because psqlODBC fails to escape a server‑supplied column name when it constructs keyset queries for an updatable cursor. If the column name contains a quotation mark, the driver embeds it directly, altering the SQL that the application sends. This flaw can allow a database user with the ability to create a table that the application later reads with an updatable cursor to choose a column name that changes which rows a positioned UPDATE or DELETE operates on. Because the driver runs the resulting query with the application's privileges, the attacker can effectively modify the logical target of statements, leading to data integrity violations.
Affected Systems
The affected product is the PostgreSQL psqlODBC JDBC/ODBC driver. Versions released before 18.00.0006 contain the flaw. Any environment that uses the driver to issue updatable cursors against a PostgreSQL database is subject to the risk. The issue was reported to the vendor and fixed by adding escaping logic and reducing reliance on database‑supplied buffer values.
Risk and Exploitability
The CVSS score of 7.1 indicates a high risk, while official EPSS data is not available and the vulnerability is not listed in CISA's KEV catalog. The flaw can be exploited in context where an attacker can create a table whose name the application will use; this typically requires database management privileges or a compromised server that is not trusted under the current SSL configuration. Because the attack modifies the SQL at the driver level, it is difficult for end users to detect and can lead to unauthorized data modification. Administrators should consider the severity and mitigate promptly.