USN-7456-1

Type: Security
Severity: Medium
Published: 2025-04-24
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 22.04 LTS (Jammy Jellyfish)

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) Update Instructions: Run `sudo pro fix USN-7456-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: php-twig - 2.12.5-1ubuntu0.1~esm2 php-twig-cssinliner-extra - 2.12.5-1ubuntu0.1~esm2 php-twig-doc - 2.12.5-1ubuntu0.1~esm2 php-twig-extra-bundle - 2.12.5-1ubuntu0.1~esm2 php-twig-html-extra - 2.12.5-1ubuntu0.1~esm2 php-twig-inky-extra - 2.12.5-1ubuntu0.1~esm2 php-twig-intl-extra - 2.12.5-1ubuntu0.1~esm2 php-twig-markdown-extra - 2.12.5-1ubuntu0.1~esm2 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T03:50:42.912Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T03:50:42.912Z UTC. Last updated 2025-11-26T08:49:08.180Z UTC.

Upstream Advisory

Affected Packages

  • php-twig 2.12.5-1ubuntu0.1~esm2-2.12.5-1ubuntu0.1~esm2

  • php-twig-cssinliner-extra 2.12.5-1ubuntu0.1~esm2-2.12.5-1ubuntu0.1~esm2

  • php-twig-doc 2.12.5-1ubuntu0.1~esm2-2.12.5-1ubuntu0.1~esm2

  • php-twig-extra-bundle 2.12.5-1ubuntu0.1~esm2-2.12.5-1ubuntu0.1~esm2

  • php-twig-html-extra 2.12.5-1ubuntu0.1~esm2-2.12.5-1ubuntu0.1~esm2

  • php-twig-inky-extra 2.12.5-1ubuntu0.1~esm2-2.12.5-1ubuntu0.1~esm2

  • php-twig-intl-extra 2.12.5-1ubuntu0.1~esm2-2.12.5-1ubuntu0.1~esm2

  • php-twig-markdown-extra 2.12.5-1ubuntu0.1~esm2-2.12.5-1ubuntu0.1~esm2

  • php-twig 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig-cache-extra 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig-cssinliner-extra 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig-doc 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig-extra-bundle 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig-html-extra 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig-inky-extra 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig-intl-extra 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig-markdown-extra 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig-string-extra 3.8.0-2ubuntu0.1~esm1-3.8.0-2ubuntu0.1~esm1

  • php-twig 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

  • php-twig-cache-extra 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

  • php-twig-cssinliner-extra 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

  • php-twig-doc 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

  • php-twig-extra-bundle 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

  • php-twig-html-extra 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

  • php-twig-inky-extra 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

  • php-twig-intl-extra 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

  • php-twig-markdown-extra 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

  • php-twig-string-extra 3.3.8-2ubuntu4+esm2-3.3.8-2ubuntu4+esm2

Interested in being alerted when there are new versions of php-twig and the other packages? Set up an alert.
USN-7456-1: Twig vulnerabilities | Package Alert