CVE-2026-42198

pgjdbc is an open source postgresql JDBC Driver. From version 42.2.0 to before version 42.7.11, pgjdbc is vulnerable to a client-side denial of service during SCRAM-SHA-256 authentication. A malicious server can instruct the driver to perform SCRAM authentication with a very large iteration count. With a large enough value, the client spends an unbounded amount of CPU time inside PBKDF2 before authentication can fail. A single attempt ties up a CPU core. Repeated or concurrent attempts exhaust client CPU and can wedge connection pools. In affected versions, loginTimeout did not fully mitigate this problem. When loginTimeout expired, the caller could stop waiting, but the worker thread performing the connection attempt could continue running and burning CPU inside the SCRAM PBKDF2 computation. This issue has been patched in version 42.7.11.
Configurations

Configuration 1 (hide)

cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) pgjdbc es un controlador JDBC de PostgreSQL de código abierto. Desde la versión 42.2.0 hasta antes de la versión 42.7.11, pgjdbc es vulnerable a una denegación de servicio del lado del cliente durante la autenticación SCRAM-SHA-256. Un servidor malicioso puede instruir al controlador para que realice la autenticación SCRAM con un número de iteraciones muy grande. Con un valor lo suficientemente grande, el cliente gasta una cantidad ilimitada de tiempo de CPU dentro de PBKDF2 antes de que la autenticación pueda fallar. Un solo intento ocupa un núcleo de CPU. Los intentos repetidos o concurrentes agotan la CPU del cliente y pueden atascar los grupos de conexiones. En las versiones afectadas, loginTimeout no mitigó completamente este problema. Cuando loginTimeout expiraba, la persona que llamaba podía dejar de esperar, pero el hilo de trabajo que realizaba el intento de conexión podía seguir ejecutándose y consumiendo CPU dentro del cálculo SCRAM PBKDF2. Este problema ha sido parcheado en la versión 42.7.11.

11 Sep 2026, 13:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:59277 -
  • () https://access.redhat.com/errata/RHSA-2026:59278 -
  • () https://access.redhat.com/errata/RHSA-2026:66488 -
  • () https://access.redhat.com/errata/RHSA-2026:66545 -

14 Aug 2026, 13:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:54532 -

11 Aug 2026, 13:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:52928 -
  • () https://access.redhat.com/errata/RHSA-2026:52929 -
  • () https://access.redhat.com/errata/RHSA-2026:52930 -
  • () https://access.redhat.com/errata/RHSA-2026:52978 -

30 Jun 2026, 03:19

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:19098 -
  • () https://access.redhat.com/errata/RHSA-2026:22304 -
  • () https://access.redhat.com/errata/RHSA-2026:24348 -
  • () https://access.redhat.com/errata/RHSA-2026:25030 -
  • () https://access.redhat.com/security/cve/CVE-2026-42198 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2463857 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42198.json -

01 May 2026, 12:51

Type Values Removed Values Added
CPE cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*
References () https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.11 - () https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.11 - Release Notes
References () https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq - () https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq - Vendor Advisory
First Time Postgresql postgresql Jdbc Driver
Postgresql

29 Apr 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-29 16:16

Updated : 2026-11-11 21:10


NVD link : CVE-2026-42198

Mitre link : CVE-2026-42198

CVE.ORG link : CVE-2026-42198


JSON object : View

Products Affected

postgresql

  • postgresql_jdbc_driver
CWE
CWE-770

Allocation of Resources Without Limits or Throttling