ADVISORIES

Vulnerability

CVE-2019-9942

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.

4 advisories report this vulnerability, across 3 ecosystems.

Low severity All Ubuntu 2Debian 1Packagist 1

Advisories

  • DSA-4419-1

    twig - security update

    CVE-2019-9942 Debian Updated 20 November 2026
  • GHSA-vxrc-68xx-x48g

    Twig Sandbox Information Disclosure

    Low CVE-2019-9942 Packagist Updated 16 February 2024
  • UBUNTU-CVE-2019-9942

    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…

    CVE-2019-9942 Ubuntu Updated 4 February 2026
  • USN-5947-1

    php-twig, twig vulnerabilities

    CVE-2019-9942CVE-2022-23614CVE-2022-39261 Ubuntu Updated 25 June 2026

References