{"id":"CVE-2026-133773","aliases":["CVE-2026-133773"],"related":[],"kind":"vulnerability","state":"published","title":"Unbounded Converter Memoisation in twig/markdown-extra Keyed on Template-Controlled Options","summary":"The html_to_markdown filter of twig/markdown-extra keeps an HtmlConverter for each distinct mapping of options it receives. They're kept in a static array, with no size limit and no eviction. The options are an argument of the filter. A template that passes options taken from the input, or a sandboxed template, can therefore make this cache grow without limit. The cache outlives the environment, so it fills the memory of long-running workers.\n\nThe cache now keeps at most 100 converters, like the formatter caches of IntlExtension.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The html_to_markdown filter of twig/markdown-extra keeps an HtmlConverter for each distinct mapping of options it receives. They're kept in a static array, with no size limit and no eviction. The options are an argument of the filter. A template that passes options taken from the input, or a sandboxed template, can therefore make this cache grow without limit. The cache outlives the environment, so it fills the memory of long-running workers.\n\nThe cache now keeps at most 100 converters, like the formatter caches of IntlExtension.","source":"cvelist"}],"published":"2026-11-24T13:07:55.938Z","modified":"2026-12-01T20:18:26.320Z","severity":{"scorer":"Symfony","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},"severities":[{"scorer":"Symfony","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.31.1","status":"affected"}],"vendor":"Twig","product":"twig/markdown-extra","package":"twig/markdown-extra","repo":"https://github.com/twigphp/Twig","source":"cvelist"}],"references":[{"url":"https://symfony.com/cve-2026-133773","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-cxp7-29fv-2j25","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/twigphp/Twig/commit/6f9962f230425da39e970023a322d641c9089035","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Nicolas Grekas"],"assigner":"Symfony","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-30T17:57:19.951Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133773","url":"https://www.cve.org/CVERecord?id=CVE-2026-133773","licence":"CVE Terms of Use","modified":"2026-12-01T19:38:30.248Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133773","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133773","licence":"Public domain","modified":"2026-12-01T20:18:26.320Z"}],"updatedAt":"2026-12-01T20:32:29.266Z","epss":{"score":0.00581,"percentile":0.49145,"date":"2026-12-01T12:00:22.000Z"}}