Bug 2583231 (CVE-2026-133773) - CVE-2026-133773 twig/markdown-extra: twig/markdown-extra: Denial of Service via unbounded cache in html_to_markdown filter
Summary: CVE-2026-133773 twig/markdown-extra: twig/markdown-extra: Denial of Service v...
Keywords:
Status: NEW
Alias: CVE-2026-133773
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-24 13:23 UTC by OSIDB Bzimport
Modified: 2026-11-24 13:36 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-24 13:23:16 UTC
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.

The cache now keeps at most 100 converters, like the formatter caches of IntlExtension.


Note You need to log in before you can comment on or make changes to this bug.