CVE-2026-46629
MEDIUMTwig: Unbounded formatter memoisation in twig/intl-extra keyed on template-controlled arguments
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/twigphp/Twig/security/advisories/GHSA-35wc-cvqg-78fp
X_Refsource_Misc x_refsource_misc
https://github.com/twigphp/Twig/commit/6add9066fc5c0455eb764c1f3af6e4e4e3562419
X_Refsource_Misc x_refsource_misc
https://github.com/twigphp/Twig/releases/tag/v3.26.0
Scores
CVSS v3
6.5
EPSS
0.0030
EPSS Percentile
22.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-770
Status
published
Products (2)
symfony/twig
< 3.26.0
twigphp/Twig
< 3.26.0
Published
Jul 14, 2026
Tracked Since
Jul 15, 2026