{"id":"CVE-2026-46629","aliases":["GHSA-35wc-cvqg-78fp"],"url":"https://o3.security/vulnerability/CVE-2026-46629","summary":"Twig: Unbounded formatter memoisation in twig/intl-extra keyed on template-controlled arguments","details":"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.","published":"2026-07-14T21:22:15.595Z","modified":"2026-08-12T03:51:33.187726234Z","cvss":null,"epss":{"score":0.00302,"percentile":0.22778,"asOf":"2026-08-18"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"twig/intl-extra","fixedVersion":"3.26.0"}],"fix":{"url":"https://github.com/twigphp/Twig/commit/6add9066fc5c0455eb764c1f3af6e4e4e3562419","label":"twigphp/Twig@6add906"},"references":[{"type":"WEB","url":"https://github.com/twigphp/Twig/releases/tag/v3.26.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46629.json"},{"type":"ADVISORY","url":"https://github.com/twigphp/Twig/security/advisories/GHSA-35wc-cvqg-78fp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46629"},{"type":"FIX","url":"https://github.com/twigphp/Twig/commit/6add9066fc5c0455eb764c1f3af6e4e4e3562419"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:33.187726234Z"}}