PostgreSQL vulnerabilities
58 known CVE vulnerabilities in PostgreSQL, translated and rated.
- CVE-2026-6473High
An integer wraparound vulnerability in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds. This may execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
- CVE-2026-32286High
The DataRow.Decode function fails to properly validate field lengths. A malicious PostgreSQL server can send a DataRow message with a negative field length, causing a slice bounds out of range panic.
- CVE-2026-2007High
A heap buffer overflow in PostgreSQL pg_trgm allows a database user to achieve unknown impacts via a crafted input string. The attacker has limited control over byte patterns, but privilege escalation is not ruled out. Affects versions 18.0 and 18.1.
- CVE-2026-2006High
Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database.
- CVE-2026-2004High
Missing input type validation in the PostgreSQL intarray extension selectivity estimator function allows an object creator to execute arbitrary code as the OS user running the database. Versions before 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.
- CVE-2023-5868Medium
A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can disclose bytes, potentially revealing notable and confidential information.
- CVE-2023-39418Low
A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. A user could store such rows that are forbidden by UPDATE and SELECT policies but not by INSERT policies.
- CVE-1999-0862Low
Insecure directory permissions in RPM distribution for PostgreSQL allow local users to gain privileges by reading a plaintext password file.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

