PostgreSQL 12.x — End of Life
EOL High riskPostgreSQL 12.x reached end of life on Nov 21, 2024, 685 days ago, and no longer receives security fixes. The most recent release in this series is 12.22. 9 CVEs are tracked for this series. 8 of them were published after the end of life of the affected cycle and will not get an official patch. The next major version is PostgreSQL 13. See PostgreSQL 13 →
PostgreSQL 12.x — All releases
| Version | Released | Active support | EOL date | Latest patch | Status | Alert me |
|---|---|---|---|---|---|---|
| 12 | Oct 3, 2019 | — | Nov 21, 2024 | 12.22 | EOL |
CVEs affecting PostgreSQL 12.x (9)
| CVE | Severity | CVSS | EPSS | KEV | Cycle | Description | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-6637 | HIGH | 8.8 | 0.37% | — | 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.59% | — | 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.55% | — | 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.45% | — | 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.32% | — | 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.31% | — | 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 | 1.00% | — | 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.23% | — | 12 | Missing authorization in PostgreSQL CREATE TYPE allows an object creator to hijack other queries that use search_path to… | May 14, 2026 |
| CVE-2023-39417 | HIGH | 7.5 | 1.67% | — | 12 | IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @e… | Aug 11, 2023 |
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.
Add a PostgreSQL 12 EOL badge to your README
Show your users which PostgreSQL version your project runs and whether it is still supported. The badge updates automatically. More formats and options →
[](https://eolcanary.com/explore/postgresql/12)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 9 known CVEs affecting PostgreSQL 12.x. Migrate to PostgreSQL 13.x as soon as possible.
What CVEs affect PostgreSQL 12?
There are 9 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
