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.

Advisories in Ubuntu

  • 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 24 November 2026
  • USN-5947-1

    php-twig, twig vulnerabilities

    CVE-2019-9942CVE-2022-23614CVE-2022-39261 Ubuntu Updated 24 November 2026

References