Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | stretch | twig | Advisory build | 1.24.0-2+deb9u1 | DSA-4419-1 |
| Ubuntu | bionic | php-twig | Advisory build | 2.4.6-1ubuntu0.1~esm1 | USN-5947-1 |
| Ubuntu | bionic | twig | Advisory build | 2.4.6-1ubuntu0.1~esm1 | USN-5947-1 |
| Ubuntu | xenial | php-twig | Advisory build | 1.23.1-1ubuntu4+esm1 | USN-5947-1 |
| Ubuntu | xenial | twig | Advisory build | 1.23.1-1ubuntu4+esm1 | USN-5947-1 |
Description
A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it is possible to call the __toString() method on an object even if not allowed by the security policy in place.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077
- 20190331 [SECURITY] [DSA 4419-1] twig security update https://seclists.org/bugtraq/2019/Mar/60
- https://symfony.com/blog/twig-sandbox-information-disclosure
- DSA-4419 https://www.debian.org/security/2019/dsa-4419
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 393fb7583450ab7728e8655704b631c070911c0f32f8bd1c5e39f225f664a922
- Ingested
- 23 Sep 2026, 07:47:56 UTC
- Source record
- Official CVE record