Read the docs
TI-2023-20481 Aliases CVE-2023-39342

Dangerzone CLI does not sanitize ANSI escape characters

Priority LOW 17CWE-150Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Dangerzone is software for converting potentially dangerous PDFs, office documents, or images to safe PDFs. The Dangerzone CLI (`dangerzone-cli` command) logs output from the container where the file sanitization takes place, to the user's terminal. Prior to version 0.4.2, if the container is compromised and can return attacker-controlled strings, then the attacker may be able to spoof messages in the user's terminal or change the window title. Besides logging output from containers, it also logs the names of the files it sanitizes. If these files contain ANSI escape sequences, then the same issue applies. Dangerzone is predominantly a GUI application, so this issue should leave most of our users unaffected. Nevertheless, we always suggest updating to the newest version. This issue is fixed in Dangerzone 0.4.2.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00269 19th percentileScored 2026-11-07
Fix Fixed dangerzone (freedomofpress): 0.4.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
freedomofpressdangerzonebefore 0.4.20.4.2Patch availableCNA
  • dangerzone Vendorfreedomofpress Affected before 0.4.2 Fixed in 0.4.2 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:freedom:dangerzone:*:*:*:*:*:*:*:*before 0.4.2VulnerableFreedom
  • cpe:2.3:a:freedom:dangerzone:*:*:*:*:*:*:*:* Versions before 0.4.2 Vulnerable ·Freedom

Remediation

  • Fix · CNA dangerzone (freedomofpress) Fixed in 0.4.2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-39342

References

  • TI-2025-18590 Path traversal in SecureDrop Client API.download_reply() CVSS 3.1HIGH 8.1
  • TI-2026-83225 SecureDrop lets API session tokens be reused against the web UI CVSS 3.1MEDIUM 5.0
  • TI-2025-18591 Path traversal in sd-log Qubes virtual machine CVSS 3.1MEDIUM 4.5
  • TI-2026-36827 securedrop-proxy origin limitation can be bypassed with redirects CVSS 3.1LOW 3.7
  • TI-2026-86124 SecureDrop copies Onion Service credentials to Monitor Server CVSS 3.1LOW 2.6

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences