Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The PostgreSQL JDBC driver (org.postgresql:postgresql) versions before 42.2.26, 42.3.0 through 42.3.6, and 42.4.0 are affected. The refreshRow() method does not escape column names, so a column name containing a statement terminator can lead to SQL injection when the application queries a database an attacker controls. Upgrade to 42.2.26, 42.3.7, 42.4.1 or later. Alternatively, avoid calling refreshRow().
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.1 | High | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.024, the 84th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:18 UTC First seen by agentprime
- 31 Oct 2026, 14:18 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r38f-c4h4-hqq2
- OSV: GHSA-r38f-c4h4-hqq2
- github.com/pgjdbc/pgjdbc/security/advisories/GHSA-r38f-c4h4-hqq2
- nvd.nist.gov/vuln/detail/CVE-2022-31197
- github.com/pgjdbc/pgjdbc/commit/739e599d52ad80f8dcd6efedc6157859b1a9d637
- github.com/pgjdbc/pgjdbc
- lists.debian.org/debian-lts-announce/2022/10/msg00009.html
- lists.debian.org/debian-lts-announce/2024/12/msg00017.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6WHUADTZBBQLVHO4YG4XCWDGWBT4LRP
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTFE6SV33P5YYU2GNTQZQKQRVR3GYE4S
- lists.fedoraproject.org/archives/list/[email protected]/message/I6WHUADTZBBQLVHO4YG4XCWDGWBT4LRP
- lists.fedoraproject.org/archives/list/[email protected]/message/UTFE6SV33P5YYU2GNTQZQKQRVR3GYE4S