Critical Vulnerability in postgresql-jdbc: Client-side Denial of Service via SCRAM-SHA-256 Authentication

postgresql-jdbc Updated 02 Jul 2026

Summary

01/06/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:22304: Important: postgresql-jdbc security update. Affects postgresql-jdbc versions < 42.2.28-2.el9_8.2. Fixed in 42.2.28-2.el9_8.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

PostgreSQL is a powerful object-relational database management system known for its robustness and advanced features. The postgresql-jdbc package provides the necessary .jar files for Java applications to connect and interact with PostgreSQL databases. This package is essential for developers who rely on Java for database operations, making it a critical component in many applications. However, a recent vulnerability has been identified that could compromise the security of applications using this package.

Vulnerability Detail

The vulnerability, identified as CVE-2026-42198, allows for a client-side Denial of Service (DoS) attack through malicious SCRAM-SHA-256 authentication attempts. This means that an attacker could exploit this vulnerability to disrupt the normal functioning of applications that utilize the postgresql-jdbc package, potentially leading to service outages and degraded performance. The issue arises from improper handling of authentication requests, which can be manipulated to cause the application to become unresponsive.

How To Fix

Minimum fixed version

42.2.28-2.el9_8.2

This is the first release that contains the fix.

sudo dnf update postgresql-jdbc

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, consider disabling SCRAM-SHA-256 authentication if it is not essential for your application. This can be done by modifying the PostgreSQL configuration file to use a different authentication method until the package is updated.

Conclusion

The postgresql-jdbc package has a critical vulnerability that can lead to Denial of Service attacks through malicious authentication attempts. It is crucial for users to update to the patched version to mitigate risks. Additionally, temporary workarounds can be employed until the update is applied.

See every vulnerability recorded for postgresql-jdbc →

Share this vulnerability

FAQ

CVE-2026-42198 is a vulnerability in the postgresql-jdbc package that allows for client-side Denial of Service attacks through malicious SCRAM-SHA-256 authentication.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploiting this vulnerability could lead to service outages and degraded performance of applications that rely on the postgresql-jdbc package.

Yes, a patch is available in the form of an updated version of the postgresql-jdbc package, specifically version 42.2.28-2.el9_8.2.

If immediate updating is not possible, consider disabling SCRAM-SHA-256 authentication as a temporary workaround until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for postgresql-jdbc.

How To Fix

Minimum fixed version

42.2.28-2.el9_8.2

This is the first release that contains the fix.

sudo dnf update postgresql-jdbc

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback