Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryopen-source-dependency-vulnerabilityend-of-life-software

PostgreSQL Patches 52 Vulnerabilities, Including Code Execution and Authorization Bypasses

Patch & Detection Intelligence · 31 sources · Updated 58m ago · First seen Nov 12, 2026

PostgreSQL Patches 52 Vulnerabilities, Including Code Execution and Authorization Bypasses

The PostgreSQL Global Development Group released versions 18.7, 17.12, 16.16, 15.20, and 14.25, alongside 19 RC 2, to address 52 security vulnerabilities and more than 140 bugs. Reported CVSS v3.1 scores reach 8.8, with flaws enabling arbitrary code execution, SQL and command injection, authorization bypasses, memory disclosure, and arbitrary file appending. Affected components include the database engine, procedural languages, extensions, logical replication, and administrative utilities. Separately, a researcher reported exploiting an allegedly 22-year-old PostgreSQL core RCE, CVE-2026-6460, using prepared statements; the supplied account does not establish affected versions or patch coverage. The references provide no evidence of exploitation in the wild.

Administrators should prioritize the applicable maintenance release and review its post-update requirements: fixes for data corruption, backup integrity, and incorrect query results may require reindexing, constraint repairs, or a new full backup, rather than an update alone. PostgreSQL 14.25 is the final release for PostgreSQL 14, so organizations still running that branch should plan migration to a supported major version. PostgreSQL 19 RC 2 incorporates applicable fixes, with general availability planned for November 19, 2026.

Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

18 events · May 5, 2004 – Nov 12, 2026
  1. Reported Nov 14, 20263d ago

    Technical disclosure details CVE-2026-6460 type-confusion exploit chain

    Public technical details attributed to Mehmet Ince describe how schema changes leave stale type interpretations in PostgreSQL, allowing crafted operations to treat integer values as pointers. Authenticated users with sufficient object-creation and schema-change privileges can reportedly exploit this to disclose memory, bypass ASLR, and overwrite internal function pointers to execute operating-system code as the postgres service account.

    PostgreSQL Patches 52 Flaws Including | Shellcode
  2. Reported Nov 13, 20264d ago

    Ince privately shares PostgreSQL exploit proofs of concept with managed-service providers

    Mehmet Ince adapted his CVE-2026-6460 exploit for managed PostgreSQL services and privately shared proofs of concept with provider security teams in August. His research included AWS Aurora and RDS, Azure PostgreSQL, Google AlloyDB, Supabase, Databricks, and Ubicloud; the writeup did not establish each service's current patch status.

    PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE
  3. Reported Nov 12, 20265d ago

    Researcher reports using prepared statements to exploit CVE-2026-6460

    The researcher describes CVE-2026-6460 as a 22-year-old PostgreSQL zero-day remote code execution vulnerability and reports that prepared statements helped exploit it. The supplied excerpt provides no technical exploit details or evidence of exploitation in the wild.

    prepared statements prevents SQLi. But it also helped me to exploit a 22 years old PostgreSQL 0-day RCE (CVE-2026-6460) : r/netsec
  4. Nov 12, 20266d ago

    Amazon Linux discloses PostgreSQL COPY FROM memory leak with fixes pending

    Amazon Linux published CVE-2026-116310, a CVSS 4.3 use-after-free flaw in PostgreSQL COPY FROM error reporting that allows a database user to disclose server memory; file_fdw also reaches the vulnerable code in PostgreSQL 18. PostgreSQL 17 before 17.12 and 18 before 18.7 are affected, with listed Amazon Linux PostgreSQL 17–18 packages awaiting fixes; earlier major versions and listed libpq packages are unaffected.

    CVE-2026-116310
  5. Nov 12, 20266d ago

    Amazon Linux discloses PostgreSQL extension code-execution flaw with fixes pending

    Amazon Linux published CVE-2026-6467, a CVSS 7.2 uncontrolled search-path flaw in CREATE EXTENSION and ALTER EXTENSION that allows an attacker with database-level CREATE privilege to execute arbitrary SQL as the bootstrap superuser. PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected; listed Amazon Linux PostgreSQL 14–18 packages await fixes, while listed libpq packages are unaffected.

    CVE-2026-6467
  6. Nov 12, 20266d ago

    Amazon Linux discloses plperl object-conversion code-execution flaw with fixes pending

    Amazon Linux published CVE-2026-116320, a CVSS 8.8 PostgreSQL plperl use-after-free flaw allowing an object creator to execute code as the database's operating-system user by dropping the final reference to a Perl array or hash during conversion. Versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected; listed Amazon Linux PostgreSQL packages await fixes, while listed libpq packages are unaffected.

    CVE-2026-116320
  7. Nov 12, 20266d ago

    Amazon Linux discloses PostgreSQL type-cache code-execution flaw with fixes pending

    Amazon Linux published CVE-2026-120144, a CVSS 7.5 type-confusion flaw in incomplete PostgreSQL type-cache invalidation that allows an object creator to execute code as the database's operating-system user. PostgreSQL 18 before 18.7 is affected, with listed Amazon Linux PostgreSQL 18 packages awaiting fixes; earlier major versions and listed libpq packages are unaffected.

    CVE-2026-120144
  8. Nov 12, 20266d ago

    Amazon Linux discloses PostgreSQL extended-statistics code-execution flaw

    Amazon Linux published CVE-2026-120148, a CVSS 8.1 extended-statistics type-confusion flaw allowing an object creator to execute code as the database's operating-system user through an anonymous RECORD statistics expression whose type identifier denotes a different row type in another session. PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected; listed Amazon Linux PostgreSQL 14–18 packages await fixes, while listed libpq packages are unaffected.

    CVE-2026-120148
  9. Nov 12, 20266d ago

    Amazon Linux discloses PostgreSQL RECORD type-confusion flaw with fixes pending

    Amazon Linux published CVE-2026-120142, a CVSS 8.8 type-confusion flaw in anonymous RECORD types allowing an object creator to execute code as the database's operating-system user. PostgreSQL 17 before 17.12 and 18 before 18.7 are affected, with listed Amazon Linux PostgreSQL 17–18 packages awaiting fixes; earlier major versions and listed libpq packages are unaffected.

    CVE-2026-120142
  10. Nov 12, 20266d ago

    Amazon Linux discloses PostgreSQL tuple-size code-execution flaw with fixes pending

    Amazon Linux published CVE-2026-120139, a CVSS 8.8 integer-wraparound flaw in PostgreSQL's in-memory tuple-size calculations that allows a database user to execute code as the database's operating-system user through oversized tuple data. PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected; listed Amazon Linux PostgreSQL packages await fixes, while listed libpq packages are unaffected.

    CVE-2026-120139
  11. Nov 12, 20266d ago

    Amazon Linux discloses PostgreSQL security_barrier flaw with package fixes pending

    Amazon Linux published CVE-2026-116327, a CVSS 4.3 flaw allowing database users to infer values hidden by security_barrier views through leaky functions. PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected; listed Amazon Linux PostgreSQL 14–18 packages await fixes, while listed libpq packages are unaffected.

    CVE-2026-116327
  12. Nov 12, 20266d ago

    Amazon Linux discloses PostgreSQL plperl code-execution flaw with fixes pending

    Amazon Linux published CVE-2026-116307, a CVSS 8.8 plperl use-after-free flaw allowing an object creator to execute code as the database's operating-system user by re-entering plperl and freeing an executing prepared query. PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected; listed Amazon Linux PostgreSQL packages await fixes, while listed libpq packages are unaffected.

    CVE-2026-116307
  13. Nov 12, 20266d ago

    Amazon Linux discloses pg_restore code-execution flaw with package fixes pending

    Amazon Linux published CVE-2026-116314, a CVSS 7.8 input-validation flaw allowing a crafted non-plain archive to execute arbitrary code as the operating-system user running pg_restore. The advisory identifies PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 as affected and lists Amazon Linux PostgreSQL package fixes as pending; listed libpq packages are unaffected.

    CVE-2026-116314
  14. Nov 12, 20266d ago

    Amazon Linux discloses PostgreSQL MERGE flaw and lists package fixes as pending

    Amazon Linux published CVE-2026-116312, a medium-severity PostgreSQL MERGE flaw that can cause an AFTER trigger to process the wrong new row. The advisory lists affected PostgreSQL 15–18 packages as pending fixes; PostgreSQL versions before 15 and the listed libpq packages are unaffected.

    CVE-2026-116312
  15. Nov 12, 20266d ago

    PostgreSQL releases fixes for 52 security vulnerabilities and more than 140 bugs

    The PostgreSQL Global Development Group released versions 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2, addressing code execution, injection, authorization bypass, memory disclosure, and other vulnerabilities with CVSS scores reaching 8.8. The announcement identifies 14.25 as the final PostgreSQL 14 release and advises additional remediation for some corruption and backup defects, including reindexing and taking a new full backup.

    PostgreSQL: PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2 Released!
  16. Apr 2026

    Researcher begins investigation that leads to CVE-2026-6460

    The researcher reports that the investigation began after an April 2026 question about using managed PostgreSQL for a project. The investigation led to a PostgreSQL core code-execution vulnerability identified as CVE-2026-6460.

    prepared statements prevents SQLi. But it also helped me to exploit a 22 years old PostgreSQL 0-day RCE (CVE-2026-6460) : r/netsec
  17. Reported Feb 12, 20269mo ago

    PostgreSQL fixes code-execution and buffer-overflow flaws in 18.2 and older branches

    PostgreSQL lists fixes for CVE-2026-2004, CVE-2026-2005, and CVE-2026-2006 in versions 18.2, 17.8, 16.12, 15.16, and 14.21; these arbitrary-code-execution vulnerabilities carry CVSS scores of 8.8. Version 18.2 also fixes CVE-2026-2007, a pg_trgm heap buffer overflow rated 8.2.

    PostgreSQL: Security Information
  18. May 5, 200423y ago

    PostgreSQL change introduces the root cause of CVE-2026-6460

    A PostgreSQL change introducing column-type alteration laid the foundation for CVE-2026-6460, according to Mehmet Ince's analysis. The vulnerability permits older composite values retained by the server to be interpreted using a field's changed type.

    PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.