StackPatch is liveSee product

Back to CVE digest
CVE-2026-24425 · cross-distro fix matrix

CVE-2026-24425: It was discovered that Twig did not properly validate PHP callables when

Affects 2 Linux releases across 11 (distro × package) combinations. First disclosed: 2026-05-20.

CVSS v3:HIGH · 8.8(NVD-published)

Fix per ecosystem

Each block below is a distro release where CVE-2026-24425 has a known fix. Run the listed command on that distro to remediate.

Ubuntu resolute

Source: Ubuntu USN

  • php-twig→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig
  • php-twig-cache-extra→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig-cache-extra
  • php-twig-cssinliner-extra→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig-cssinliner-extra
  • php-twig-doc→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig-doc
  • php-twig-extra-bundle→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig-extra-bundle
  • php-twig-html-extra→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig-html-extra
  • php-twig-inky-extra→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig-inky-extra
  • php-twig-intl-extra→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig-intl-extra
  • php-twig-markdown-extra→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig-markdown-extra
  • php-twig-string-extra→ fixed in3.23.0-2ubuntu0.1~esm1USN-8408-1
    sudo apt-get install --only-upgrade -y php-twig-string-extra

Debian trixie

Source: Debian Security Tracker

  • php-twig→ fixed in3.27.0-0+deb13u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y php-twig
Are YOU affected by CVE-2026-24425?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2026-24425dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)