BreachSpiderVerified, not vibes

CVE-2019-9942 in Debian Linux and 1 more product

Low 3.7

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.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.13.7
EPSS1.4%
EPSS percentile73th
FixSee advisory

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 9.0
Symfony Twig < 1.38.0 ≥ 2.0.0, < 2.7.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2019-9942
BreachSpider IDBS-2019-GLOBAL-195089-L
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Published2019-03-23
Last modified2026-06-17
SourceNVD

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2019. A low severity vulnerability affects Debian systems (CVE-2019-9942). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.

Questions

What is CVE-2019-9942?

This vulnerability was disclosed in 2019. A low severity vulnerability affects Debian systems (CVE-2019-9942). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2019-9942?

CVE-2019-9942 has CVSS 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 1.4%.

Is CVE-2019-9942 actively exploited?

No confirmed active exploitation of CVE-2019-9942 as of 2026-06-21.

How do I remediate CVE-2019-9942?

Priority: MONITOR. Advisory: https://symfony.com/blog/twig-sandbox-information-disclosure PSIRT: [email protected]

What systems are affected by CVE-2019-9942?

CVE-2019-9942 affects Debian Debian Linux; Symfony Twig.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.