PostgreSQL 12.x — End of Life

EOL High risk
EOL: Nov 21, 20241 release in this series8 CVEs

PostgreSQL 12.x — All releases

VersionReleasedActive supportEOL dateLatest patchStatus
12Oct 3, 2019Nov 21, 202412.22EOL

CVEs affecting PostgreSQL 12.x (8)

CVESeverityCVSSEPSSKEVCycleDescriptionPublished
CVE-2026-6637HIGH8.80.04%12Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as th…May 14, 2026
CVE-2026-6479HIGH7.50.02%12Uncontrolled recursion in PostgreSQL SSL and GSS negotiation allows an attacker able to connect to a PostgreSQL AF_UNIX …May 14, 2026
CVE-2026-6478MEDIUM6.50.08%12Covert timing channel in comparison of MD5-hashed password in PostgreSQL authentication allows an attacker to recover us…May 14, 2026
CVE-2026-6477HIGH8.80.05%12Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export(), lo_read(), lo_lsee…May 14, 2026
CVE-2026-6475HIGH8.80.05%12Symlink following in PostgreSQL pg_basebackup plain format and in pg_rewind allows an origin superuser to overwrite loca…May 14, 2026
CVE-2026-6474MEDIUM4.30.03%12Externally-controlled format string in PostgreSQL timeofday() function allows an attacker to retrieve portions of server…May 14, 2026
CVE-2026-6473HIGH8.80.07%12Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to un…May 14, 2026
CVE-2026-6472MEDIUM5.40.03%12Missing authorization in PostgreSQL CREATE TYPE allows an object creator to hijack other queries that use search_path to…May 14, 2026

PostgreSQL 12.x is EOL — migrate to PostgreSQL 13.x

PostgreSQL 13.x is the next major release. Plan your upgrade before PostgreSQL 12.x stops receiving security patches.

See PostgreSQL 13.x

Frequently asked questions

Is PostgreSQL 12 end of life?

Yes. All PostgreSQL 12.x releases have reached end of life and no longer receive security patches. There are 8 known CVEs affecting PostgreSQL 12.x. Migrate to PostgreSQL 13.x as soon as possible.

What CVEs affect PostgreSQL 12?

There are 8 CVEs tracked for PostgreSQL 12.x. See the full list above with CVSS and EPSS scores.

What is the latest PostgreSQL 12 version?

The latest PostgreSQL 12.x patch release is 12.22, released on November 18, 2024. Always run the latest patch to benefit from all security fixes.

How to migrate from PostgreSQL 12 to PostgreSQL 13?

To migrate from PostgreSQL 12 to PostgreSQL 13: (1) review the official PostgreSQL 13 migration guide for breaking changes, (2) update dependencies and configuration accordingly, (3) test thoroughly in a staging environment, (4) deploy with a rollback plan. Starting early gives you time to resolve compatibility issues before your current version reaches end of life.

Is it safe to run PostgreSQL 12 in production?

No. PostgreSQL 12 has reached end of life and security vulnerabilities are no longer patched. Upgrade to a supported version immediately.

Data sourced from endoflife.date · CVE data from NVD · EPSS from FIRST.org · KEV from CISA