Skip to main content
VulnerabilityPublished Updated

CVE-2024-45411: php-twig vulnerabilities

Affects php-twigSource GCVE Database

0
Compare

Mentioned vulnerabilities

Not known to be exploited · fixed in 2.12.5-1ubuntu0.1~esm2 : update php-twig when convenient.

Data as of 24 Nov 2026, 17:24 UTC

Severity
Unrated

Rated by Threat Radar · No CVSS score from NVD or the CNA

Patch
Available – fixed in 2.12.5-1ubuntu0.1~esm2, 3.3.8-2ubuntu4+esm2, 3.8.0-2ubuntu0.1~esm1

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Apr 2025

  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 23 Nov 2026.

What to do

Upgrade the Ubuntu php-twig to 2.12.5-1ubuntu0.1~esm2 (package) or 3.3.8-2ubuntu4+esm2 (package) or 3.8.0-2ubuntu0.1~esm1 (package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSphp-twigpkg:deb/ubuntu/php-twig?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <3.8.0-2ubuntu0.1~esm1
Fixed in
  • 3.8.0-2ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSphp-twigpkg:deb/ubuntu/php-twig?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <3.3.8-2ubuntu4+esm2
Fixed in
  • 3.3.8-2ubuntu4+esm2
Ubuntu Pro 20.04 LTSphp-twigpkg:deb/ubuntu/php-twig?arch=source&distro=esm-apps/focalOther threatsAffected
  • <2.12.5-1ubuntu0.1~esm2
Fixed in
  • 2.12.5-1ubuntu0.1~esm2

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

Description

Fabien Potencier discovered that Twig did not run sandbox security checks in some circumstances. An attacker could possibly use this issue to cause a denial of service or execute arbitrary commands. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-45411) Jamie Schouten discovered that Twig could bypass the security policy for an object call. An attacker could possibly use this issue to obtain sensitive information. (CVE-2024-51754)

References

Community reviews

Loading reviews…