Skip to main content
VulnerabilityPublished

CVE-2026-46629: twigphp Twig · Unthrottled Resource Allocation

Affects twigphp TwigSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.26.0 when convenient.

Data as of 27 Nov 2026, 22:51 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.26.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.

What to do

Upgrade Twig and twig/intl-extra to 3.26.0.

Affected software

ProductAffectedFixed in
twigphpTwigAffected
  • <3.26.0
Fixed in
  • 3.26.0
Packagisttwig/intl-extrapkg:composer/twig/intl-extraOther threatsAffected
  • v2.12.0 – v3.24.0
  • <3.26.0
60 affected builds
Fixed in
  • 3.26.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Twig to version 3.26.0 or later, where this vulnerability is fixed. No other official remediation or temporary workaround is provided. Patch status is confirmed fixed in 3.26.0.

Description

Twig versions prior to 3.26.0 contain a vulnerability where IntlDateFormatter and NumberFormatter instances are memoized without limits based on template-controlled arguments. This can lead to excessive resource allocation that persists for the lifetime of the Twig environment. The issue is addressed in version 3.26.0.

References

Community reviews

Loading reviews…