Vulnerability in So-fancy Diff-so-fancy

CVE-2026-50642

diff‑so‑fancy does not properly sanitize non‑SGR terminal control sequences before outputting diff data. The application only strips ANSI SGR sequences while allowing other control characters, including carriage return (\r) and escape sequ…

Affected products

Weakness classification (CWE)

References