CVE-2019-9942 in Debian Linux and 1 more product
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.
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
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not 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 ID | CVE-2019-9942 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-195089-L |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Published | 2019-03-23 |
| Last modified | 2026-06-17 |
| Source | NVD |
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"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.