Memory leak in PostgreSQL

Published: 2021-12-16
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-3677
Exploitation vector Network
Public exploit N/A
Vulnerable software
Server applications / Database software

Vendor PostgreSQL Global Development Group

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Memory leak

EUVDB-ID: #VU59043

Risk: Low


CVE-ID: CVE-2021-3677

CWE-ID: CWE-401 - Improper Release of Memory Before Removing Last Reference ('Memory Leak')

Exploit availability: No


The vulnerability allows a remote user to perform DoS attack or gain access to sensitive information.

The vulnerability exists due memory leak during parallel sort operations. A remote user can force the application to leak memory and perform denial of service attack or read arbitrary memory parts on the system.


Install updates from vendor's website.

Vulnerable software versions

PostgreSQL: 13.0 - 13.3, 12.0 - 12.7, 11.0 - 11.12

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?