Critical Security Update for postgresql-jdbc: CVE-2026-42198
Summary
RHSA-2026:54532: Red Hat Security Advisory: postgresql-jdbc security update. Affects postgresql-jdbc versions < 0:42.2.28-1.el9_2.1. Fixed in 0:42.2.28-1.el9_2.1. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The postgresql-jdbc package is a JDBC driver for PostgreSQL, enabling Java applications to interact with PostgreSQL databases. It is widely used in enterprise applications for database connectivity and management. This package is crucial for developers who require reliable and efficient database access within Java environments. However, it has been identified with a security vulnerability that could potentially compromise the integrity of applications using this driver.
Vulnerability Detail
CVE-2026-42198 is a security vulnerability in the postgresql-jdbc package that allows for potential unauthorized access or data manipulation. This vulnerability arises from insufficient validation of input data, which could lead to exploitation by malicious actors. The ramifications of this vulnerability include unauthorized data access, data corruption, and potential denial of service. The CVSS score for this vulnerability is 7.5, indicating a high severity level, and it is crucial for users to address this issue promptly to safeguard their applications.
How To Fix
Minimum fixed version
0:42.2.28-1.el9_2.1
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 workaround, users may consider implementing additional input validation within their applications to mitigate the risk of exploitation until the package can be updated. However, this is not a substitute for applying the official patch.
Conclusion
The postgresql-jdbc package has a critical vulnerability (CVE-2026-42198) that needs to be addressed promptly. Users are advised to update to the patched version to ensure the security of their applications. Temporary workarounds can be implemented, but they do not replace the necessity of applying the official fix.
See every vulnerability recorded for postgresql-jdbc →
FAQ
CVE-2026-42198 is a security vulnerability in the postgresql-jdbc package that could allow unauthorized access to data.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The CVSS score for this vulnerability is 7.5, indicating a high severity level that requires immediate attention.
If an immediate update is not possible, consider implementing additional input validation as a temporary workaround.
More information can be found in the Red Hat Security Advisory at https://security.access.redhat.com/data/osv/RHSA-2026:54532.json.
Related vulnerabilities
Recent vulnerabilities recorded for postgresql-jdbc.