Python 2.x — End of Life
EOLPython 2.x — All releases
| Version | Released | Active support | EOL date | Latest patch | Status |
|---|---|---|---|---|---|
| 2.7 | Jul 3, 2010 | — | Jan 1, 2020 | 2.7.18 | EOL |
| 2.6 | Oct 1, 2008 | — | Oct 29, 2013 | 2.6.9 | EOL |
CVEs affecting Python 2.x (0)
Python 2.x is EOL — migrate to Python 3.x
Python 3.x is the next major release. Plan your upgrade before Python 2.x stops receiving security patches.
Frequently asked questions
Is Python 2 end of life?
Yes. All Python 2.x releases have reached end of life and no longer receive security patches. Migrate to Python 3.x as soon as possible.
What CVEs affect Python 2?
No CVEs are currently tracked for Python 2.x in our database. This may mean no vulnerabilities have been recorded yet, or the data is still syncing.
What is the latest Python 2 version?
The latest Python 2.x patch release is 2.7.18, released on April 19, 2020. Always run the latest patch to benefit from all security fixes.
How to migrate from Python 2 to Python 3?
To migrate from Python 2 to Python 3: (1) review the official Python 3 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 Python 2 in production?
No. Python 2 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
