CVE-2026-46629
Twig is a template language for PHP. Prior to 3.26.0, …
Twig is a template language for PHP. Prior to 3.26.0, twig/intl-extra memoises IntlDateFormatter and NumberFormatter instances in arrays keyed by template-controlled filter arguments such as locale, pattern, and attrs, allowing a template to allocate many ICU formatter objects that remain pinned for the lifetime of the Twig\Environment. This issue is fixed in version 3.26.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/twigphp/Twig/security/advisories/GHSA-35wc-cvqg-78fp
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/intl-extra/CVE-2026-46629.yam
- symfony.com/cve-2026-46629
- github.com/advisories/GHSA-35wc-cvqg-78fp
- github.com/twigphp/Twig/commit/6add9066fc5c0455eb764c1f3af6e4e4e3562419
- github.com/twigphp/Twig/releases/tag/v3.26.0
- nvd.nist.gov/vuln/detail/CVE-2026-46629
- cve.org/CVERecord?id=CVE-2026-46629
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.