Medium severity6.5OSV Advisory· Published Jul 14, 2026· Updated Jul 16, 2026
CVE-2026-46629
CVE-2026-46629
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
twig/intl-extraPackagist | < 3.26.0 | 3.26.0 |
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/twigphp/Twig/commit/6add9066fc5c0455eb764c1f3af6e4e4e3562419nvdPatch
- github.com/advisories/GHSA-35wc-cvqg-78fpghsaADVISORY
- github.com/twigphp/Twig/security/advisories/GHSA-35wc-cvqg-78fpnvdVendor AdvisoryWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/intl-extra/CVE-2026-46629.yamlghsaWEB
- github.com/twigphp/Twig/releases/tag/v3.26.0nvdRelease Notes
- symfony.com/cve-2026-46629ghsaWEB
News mentions
0No linked articles in our index yet.