
CVE catalog
CVE-2024-45411
Twig vulnerability
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.85% · Oct 25, 2026
Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-twig | sid | 3.28.0-1 | fixed |
| Debian | php-twig | forky | 3.28.0-1 | fixed |
| Debian | php-twig | trixie | 3.27.0-0+deb13u1 | fixed |
| Debian | php-twig | trixie-security | 3.27.0-0+deb13u1 | fixed |
| Debian | php-twig | bookworm | 3.5.1-1+deb12u3 | fixed |
| Debian | php-twig | bookworm-security | 3.5.1-1+deb12u3 | fixed |
| Ubuntu | php-twig | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig-cache-extra | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig-cssinliner-extra | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig-doc | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig-extra-bundle | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig-html-extra | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig-inky-extra | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig-intl-extra | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig-markdown-extra | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig-string-extra | noble | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig-cache-extra | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig-cssinliner-extra | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig-doc | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig-extra-bundle | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig-html-extra | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig-inky-extra | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig-intl-extra | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig-markdown-extra | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig-string-extra | noble | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig | 24.04 | 3.7.0-1 | vulnerable |
| Ubuntu | php-twig | 24.04 | 3.7.1-1 | vulnerable |
| Ubuntu | php-twig | 24.04 | 3.8.0-2 | vulnerable |
| Ubuntu | php-twig | 24.04 | 3.8.0-2ubuntu1 | fixed |
| Ubuntu | php-twig | pro | 3.7.0-1 | vulnerable |
| Ubuntu | php-twig | pro | 3.7.1-1 | vulnerable |
| Ubuntu | php-twig | pro | 3.8.0-2 | vulnerable |
| Ubuntu | php-twig | pro | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | twig | pro | 1.24.0-2ubuntu1 | vulnerable |
| Ubuntu | twig | pro | 2.4.4-2ubuntu1 | vulnerable |
| Ubuntu | twig | pro | 2.4.6-1 | vulnerable |
| Ubuntu | twig | pro | 2.4.6-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | php-twig | pro | 3.7.0-1 | vulnerable |
| Ubuntu | php-twig | pro | 3.7.1-1 | vulnerable |
| Ubuntu | php-twig | pro | 3.8.0-2 | vulnerable |
| Ubuntu | php-twig | pro | 3.8.0-2ubuntu0.1~esm1 | fixed |
| Ubuntu | php-twig | 24.04 | 3.7.0-1 | vulnerable |
| Ubuntu | php-twig | 24.04 | 3.7.1-1 | vulnerable |
| Ubuntu | php-twig | 24.04 | 3.8.0-2 | vulnerable |
| Ubuntu | php-twig | 24.04 | 3.8.0-2ubuntu1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php-twig | source | sid | 3.8.0-4 | not yet assigned | Not reported | [1081561] |
| Debian | php-twig | source | forky | 3.8.0-4 | not yet assigned | Not reported | [1081561] |
| Debian | php-twig | source | trixie | 3.8.0-4 | not yet assigned | Not reported | [1081561] |
| Debian | php-twig | source | bookworm | 3.5.1-1+deb12u1 | not yet assigned | Not reported | [1081561] |
| Ubuntu | php-twig | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-cache-extra | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-cssinliner-extra | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-doc | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-extra-bundle | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-html-extra | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-inky-extra | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-intl-extra | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-markdown-extra | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-string-extra | deb | noble | 3.8.0-2ubuntu1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-cache-extra | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-cssinliner-extra | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-doc | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-extra-bundle | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-html-extra | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-inky-extra | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-intl-extra | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-markdown-extra | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig-string-extra | deb | noble | 3.8.0-2ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | php-twig | deb | 24.04 | 3.8.0-2ubuntu1 | Not reported | USN-7549-1 | Not reported |
| Ubuntu | php-twig | deb | pro | 3.8.0-2ubuntu0.1~esm1 | Not reported | USN-7456-1 | Not reported |
| Ubuntu | php-twig | deb | pro | 3.8.0-2ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-45411 | Not reported |
| Ubuntu | php-twig | deb | 24.04 | 3.8.0-2ubuntu1 | Not reported | UBUNTU-CVE-2024-45411 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [php-twig]Fixed
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
- [php-twig-cache-extra]Fixed
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
- [php-twig-cssinliner-extra]Fixed
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
- [php-twig-doc]Fixed
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
- [php-twig-extra-bundle]Fixed
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
- [php-twig-html-extra]Fixed
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
- [php-twig-inky-extra]Fixed
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
- [php-twig-intl-extra]Fixed
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
- [php-twig-markdown-extra]Fixed
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
- [php-twig-string-extra]Fixed
Source package: [php-twig]
Details (4)
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookwormFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
3.5.1-1+deb12u3· all · bookworm-securityFixed · Fixed:
3.5.1-1+deb12u1usn · php-twig · debian · bookworm; usn · php-twig · debian · 12
[Debian 13 (Trixie)]
- [php-twig]Fixed
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
- [php-twig-cache-extra]Fixed
Source package: [php-twig]
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
- [php-twig-cssinliner-extra]Fixed
Source package: [php-twig]
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
- [php-twig-doc]Fixed
Source package: [php-twig]
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
- [php-twig-extra-bundle]Fixed
Source package: [php-twig]
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
- [php-twig-html-extra]Fixed
Source package: [php-twig]
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
- [php-twig-inky-extra]Fixed
Source package: [php-twig]
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
- [php-twig-intl-extra]Fixed
Source package: [php-twig]
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
- [php-twig-markdown-extra]Fixed
Source package: [php-twig]
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
- [php-twig-string-extra]Fixed
Source package: [php-twig]
Details (4)
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixieFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
3.27.0-0+deb13u1· all · trixie-securityFixed · Fixed:
3.8.0-4usn · php-twig · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-45411]
- [https://osv.dev/vulnerability/DLA-3888-1]
- [https://osv.dev/vulnerability/DSA-5771-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-45411]
- [https://osv.dev/vulnerability/USN-7456-1]
- [https://osv.dev/vulnerability/USN-7549-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-45411]
- [https://ubuntu.com/security/notices/USN-7456-1]
- [https://ubuntu.com/security/notices/USN-7549-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]