Memory Disclosure Vulnerability in PostgreSQL - CVE-2019-10209

postgresql Updated 02 Oct 2025

Summary

29/10/2019
N/A
Yes i
Low
2.2

ALPINE-CVE-2019-10209: Postgresql, versions 11.x before 11.5, is vulnerable to a memory disclosure in cross-type comparison for hashed subplan. Affects postgresql versions < 11.5-r0. Fixed in 11.5-r0. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

PostgreSQL is a powerful, open-source object-relational database system that uses and extends the SQL language. It is known for its reliability, robustness, and performance. The vulnerability identified as CVE-2019-10209 affects versions 11.x prior to 11.5, where a memory disclosure can occur during cross-type comparison for hashed subplans, potentially exposing sensitive information.

Vulnerability Detail

The vulnerability arises from a flaw in the way PostgreSQL handles cross-type comparisons in hashed subplans. This can lead to unintended memory disclosures, allowing an attacker to access sensitive data that should remain confidential. The ramifications of this vulnerability can be severe, as it may expose critical information stored within the database, leading to data breaches or unauthorized access.

How To Fix

Minimum fixed version

11.5-r0

This is the first release that contains the fix.

sudo apk add --upgrade postgresql

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

Workaround

If an immediate update is not feasible, consider restricting access to the database and monitoring for any unusual activity as a temporary measure. Additionally, ensure that sensitive data is encrypted to mitigate the risk of exposure.

Conclusion

In summary, CVE-2019-10209 is a memory disclosure vulnerability in PostgreSQL versions 11.x prior to 11.5. It is crucial to update to the patched version to safeguard sensitive data and maintain the integrity of your database system.

See every vulnerability recorded for postgresql →

Share this vulnerability

FAQ

CVE-2019-10209 is a vulnerability in PostgreSQL that allows for memory disclosure during cross-type comparisons in hashed subplans.

Versions 11.x prior to 11.5 are affected by this vulnerability.

The vulnerability can lead to the exposure of sensitive data stored in the database, potentially resulting in data breaches.

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

The CVSS score for CVE-2019-10209 is 2.2, indicating a low severity level.

Related vulnerabilities

Recent vulnerabilities recorded for postgresql.

How To Fix

Minimum fixed version

11.5-r0

This is the first release that contains the fix.

sudo apk add --upgrade postgresql

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