Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.

PostgreSQL Security Update: Memory Disclosure and Code Execution

OESA-2026-1513
Summary

PostgreSQL users should update to the latest version, 18.2, 17.8, 16.12, 15.16, or 14.21, to prevent a database user from accessing sensitive server memory and executing arbitrary code as the system user. This update fixes multiple security issues that could allow an attacker to gain unauthorized access and control. To stay secure, make sure your PostgreSQL installation is up to date.

What to do
  • Update libpq to version 15.17-1.oe2403sp2.
Affected software
VendorProductAffected versionsFix available
– libpq <= 15.17-1.oe2403sp2 15.17-1.oe2403sp2
Original title
libpq security update
Original description
PostgreSQL is a powerful, open source object-relational database system that uses and extends the SQL language combined with many features that safely store and scale the most complicated data workloads. This package provides the essential shared library for any PostgreSQL client program or interface.

Security Fix(es):

Improper validation of type &quot;oidvector&quot; in PostgreSQL allows a database user to disclose a few bytes of server memory. We have not ruled out viability of attacks that arrange for presence of confidential information in disclosed bytes, but they seem unlikely. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.(CVE-2026-2003)

Missing validation of type of input in PostgreSQL intarray extension selectivity estimator function allows an object creator to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.(CVE-2026-2004)

Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.(CVE-2026-2005)

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. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.(CVE-2026-2006)
Published: 6 Mar 2026 · Updated: 6 Mar 2026 · First seen: 6 Mar 2026