CVE-2018-10936: PostgreSQL Jdbc Driver

High severity, CVSS 8.1. EPSS: 2.9% probability of exploitation activity in the next 30 days.

A weakness was found in postgresql-jdbc before version 42.2.5. It was possible to provide an SSL Factory and not check the host name if a host name verifier was not provided to the driver. This could lead to a condition where a man-in-the-middle attacker could masquerade as a trusted server by providing a certificate for the wrong host, as long as it was signed by a trusted CA.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • PostgreSQL Jdbc Driver, before 42.2.5: fixed in 42.2.5

Affected products

Affected packages

Published 2018-08-30. Last modified 2026-06-17.