Findings

Vulnerability · CVE-2022-31197

postgresql postgresql_jdbc_driver Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Published Dec 8, 2025 · corrected/updated Dec 8, 2025 · postgresql postgresql_jdbc_driver · evidence confidence very high

PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the method is not performing escaping of column names so a malicious column name that contains a statement terminator, e.g. , could lead to SQL injection. This could lead to executing additional SQL commands as the application's JDBC user. User applications that do not invoke the method are not impacted. User application that do invoke that method are impacted if the underlying database that they are querying via their J

Grounded briefings

Catalog interpretations for three audiences. Each brief cites ingested metadata and the original advisories below. They are not independent research and they do not invent exploit steps.

Executive

CVE-2022-31197 is a unknown public vulnerability record for postgresql postgresql_jdbc_driver. CISA lists it as known exploited. Published remediation guidance: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable. This summary is a catalog interpretation of the ingested metadata and cites the original advisories below.

System administrator

Identify whether postgresql postgresql_jdbc_driver is in your estate, then compare installed versions with the affected ranges. Affected packages or ranges on record: postgresql postgresql_jdbc_driver. Published remediation guidance: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable. Prefer the vendor or distribution advisory linked in Sources before changing production systems. This is a catalog interpretation, not a runbook.

Security analyst

Signals on file: no CVSS/EPSS yet. CISA lists it as known exploited. Sources contributing to this record: vulncheck_kev. Public exploit references, when present, are outbound links only and are not proof of active exploitation. This is a catalog interpretation of stored metadata.

Exploitation and remediation

  • Exploitation evidence

    Confirmed in CISA KEV since Dec 8, 2025. Listed in CISA KEV and VulnCheck KEV.

  • Patch and remediation

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

  • Safe detection guidance

    Compare installed versions with the affected ranges below and verify the advisory from the original publisher. This site stores metadata and outbound links only; it does not ship exploit code or proof-of-concept payloads.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Dec 8, 2025 · VulnCheck KEV

    Detected

    PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the method is not performing escaping of column names so a malicious column name that contains a statement terminator, e.g. , could lead to SQL injection. This could lead to executing additional SQL commands as the applicati

  2. Dec 8, 2025 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Affected

  • vendor postgresql postgresql_jdbc_driverversion unspecified

Sources

  • VulnCheck KEVConfirmed exploitationCVE-2022-31197

    PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the method is not performing escaping of column names so a malicious column name that contains a stateme

    vulncheck.com

References