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