Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

DSA-6320-1

Active Unknown

php-twig - security update

Published
02 Jun 2026, 00:00:00 UTC

Related CVEs

CVE identifiers linked by this publisher.

6
Publisher relationship details 6 records
Explicit publisher CVE relationships
CVEPublisher evidence
CVE-2024-51754https://security-tracker.debian.org/tracker/CVE-2024-51754
CVE-2026-46628https://security-tracker.debian.org/tracker/CVE-2026-46628
CVE-2026-46629https://security-tracker.debian.org/tracker/CVE-2026-46629
CVE-2026-46633https://security-tracker.debian.org/tracker/CVE-2026-46633
CVE-2026-46637https://security-tracker.debian.org/tracker/CVE-2026-46637
CVE-2026-47730https://security-tracker.debian.org/tracker/CVE-2026-47730

Description

CVE-2024-51754: Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance). This issue has been patched in versions 3.11.2 and 3.14.1. All

Read full publisher description 2243 characters

CVE-2024-51754: Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance). This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue. CVE-2026-46628: Twig is a template language for PHP. Prior to 3.26.0, the deprecated spaceless filter is registered as safe for HTML, causing Twig autoescaping to emit attacker-controlled markup unescaped when spaceless is applied to untrusted input. This issue is fixed in version 3.26.0. CVE-2026-46629: Twig is a template language for PHP. Prior to 3.26.0, twig/intl-extra memoises IntlDateFormatter and NumberFormatter instances in arrays keyed by template-controlled filter arguments such as locale, pattern, and attrs, allowing a template to allocate many ICU formatter objects that remain pinned for the lifetime of the Twig\Environment. This issue is fixed in version 3.26.0. CVE-2026-46633: Twig is a template language for PHP. Starting in 1.15.1 and prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP single-quoted string literal, allowing a crafted template name to terminate the string and inject arbitrary PHP expressions into the compiled cache file. This issue is fixed in version 3.26.0. CVE-2026-46637: Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0. CVE-2026-47730: Twig is a template language for PHP. From 3.0.0 until 3.26.0, Twig\Profiler\Dumper\HtmlDumper writes Profile::getTemplate() and Profile::getName() into HTML output without escaping, allowing attacker-controlled template or profile names to inject arbitrary HTML when a browser renders the profiler dump. This issue is fixed in version 3.26.0.

No solution guidance was provided.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

1

Shared package data

Applies to this occurrence
Package role
Source package
Ecosystem
Debian:bookworm
Fixed version
3.5.1-1+deb12u3

Affected ranges and events

  • ECOSYSTEMRepository Not supplied in this record
    • Fixed at 3.5.1-1+deb12u3
  1. 1php-twigSource package

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

7
  • DSA-6320-1 advisory · Tags: Unknown https://www.debian.org/security/2026/dsa-6320
  • CVE-2024-51754 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2024-51754
  • CVE-2026-46628 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2026-46628
  • CVE-2026-46629 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2026-46629
  • CVE-2026-46633 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2026-46633
  • CVE-2026-46637 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2026-46637
  • CVE-2026-47730 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2026-47730

Provenance

Schema version
Unknown
Parser version
debian-dsa-dla-tracker/1
Attribution
Debian Security Team
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
structured_advisory_listhttps://salsa.debian.org/security-tracker-team/security-tracker/-/raw/master/data/DSA/listUnknown113265437d698de5da0bf80ba270390397de1aa127795fe3cc4dd1910a729be4debian-dsa-dla-tracker/1Unknown

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected