Critical Vulnerability in libpgjava: PostgreSQL JDBC Driver Denial of Service Risk

libpgjava Updated 03 Oct 2025

Summary

06/09/2022
N/A
Yes i
Unrated
Not published

USN-5238-1: libpgjava vulnerability. Affects libpgjava versions < 9.4.1212-1ubuntu0.1~esm1. Fixed in 9.4.1212-1ubuntu0.1~esm1. 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

libpgjava is a Java-based PostgreSQL JDBC Driver that enables Java applications to interact with PostgreSQL databases. It provides essential functionalities for database connectivity, query execution, and transaction management. However, recent findings have revealed a vulnerability that could allow remote attackers to exploit the driver, leading to potential denial of service or arbitrary code execution.

Vulnerability Detail

The vulnerability, identified as CVE-2020-13692, arises from improper handling of certain requests from external entities by the PostgreSQL JDBC Driver. This flaw can be exploited by remote attackers to cause a denial of service, potentially leading to system crashes or unauthorized code execution. The issue is critical as it affects the integrity and availability of applications relying on the driver for database operations.

How To Fix

Minimum fixed version

9.4.1212-1ubuntu0.1~esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libpgjava

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

Workaround

As a temporary workaround, consider restricting access to the PostgreSQL JDBC Driver from untrusted external entities. This can be achieved by configuring firewall rules or network policies to limit exposure.

Conclusion

In summary, the libpgjava vulnerability (CVE-2020-13692) poses significant risks to applications using the PostgreSQL JDBC Driver. Immediate action is required to update to the patched versions to safeguard against potential attacks. Regular monitoring and updates are crucial for maintaining application security.

See every vulnerability recorded for libpgjava →

Share this vulnerability

FAQ

libpgjava is a JDBC driver that allows Java applications to connect to PostgreSQL databases, facilitating database operations.

CVE-2020-13692 is the identifier for the vulnerability affecting the PostgreSQL JDBC Driver, which could lead to denial of service or arbitrary code execution.

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

Failing to address this vulnerability could expose your application to denial of service attacks and potential unauthorized code execution, compromising system integrity.

It is recommended to regularly check for updates and apply security patches promptly to mitigate vulnerabilities and ensure system security.

Related vulnerabilities

Recent vulnerabilities recorded for libpgjava.

How To Fix

Minimum fixed version

9.4.1212-1ubuntu0.1~esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libpgjava

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