PostgreSQL 12.x — End of Life
EOL High riskPostgreSQL 12.x — All releases
| Version | Released | Active support | EOL date | Latest patch | Status |
|---|---|---|---|---|---|
| 12 | Oct 3, 2019 | — | Nov 21, 2024 | 12.22 | EOL |
CVEs affecting PostgreSQL 12.x (8)
| CVE | Severity | CVSS | EPSS | KEV | Cycle | Description | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-6637 | HIGH | 8.8 | 0.04% | — | 12 | Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as th… | May 14, 2026 |
| CVE-2026-6479 | HIGH | 7.5 | 0.02% | — | 12 | Uncontrolled recursion in PostgreSQL SSL and GSS negotiation allows an attacker able to connect to a PostgreSQL AF_UNIX … | May 14, 2026 |
| CVE-2026-6478 | MEDIUM | 6.5 | 0.08% | — | 12 | Covert timing channel in comparison of MD5-hashed password in PostgreSQL authentication allows an attacker to recover us… | May 14, 2026 |
| CVE-2026-6477 | HIGH | 8.8 | 0.05% | — | 12 | Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export(), lo_read(), lo_lsee… | May 14, 2026 |
| CVE-2026-6475 | HIGH | 8.8 | 0.05% | — | 12 | Symlink following in PostgreSQL pg_basebackup plain format and in pg_rewind allows an origin superuser to overwrite loca… | May 14, 2026 |
| CVE-2026-6474 | MEDIUM | 4.3 | 0.03% | — | 12 | Externally-controlled format string in PostgreSQL timeofday() function allows an attacker to retrieve portions of server… | May 14, 2026 |
| CVE-2026-6473 | HIGH | 8.8 | 0.07% | — | 12 | Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to un… | May 14, 2026 |
| CVE-2026-6472 | MEDIUM | 5.4 | 0.03% | — | 12 | Missing 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.
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
