PT-2020-5769 · Kitty+3 · Kitty+3

Stephane Chauveau

·

Published

2020-11-29

·

Updated

2025-04-24

·

CVE-2020-35605

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: kitty versions prior to 0.19.3
Description: The Graphics Protocol feature in the graphics.c file of kitty allows remote attackers to execute arbitrary code because a filename containing special characters can be included in an error message. This issue is related to the lack of filename sanitization when returning an error message, which can be exploited by remote attackers to gain access to confidential data, disrupt its integrity, and cause a denial of service.
Recommendations: For kitty versions prior to 0.19.3, update to version 0.19.3 or later to resolve the issue. As a temporary workaround, consider disabling the Graphics Protocol feature until a patch is available. Restrict access to the graphics.c file to minimize the risk of exploitation. Avoid using filenames containing special characters in the affected Graphics Protocol feature until the issue is resolved.

Exploit

Fix

OS Command Injection

Weakness Enumeration

Related Identifiers

BDU:2021-01728
CVE-2020-35605
DSA-4819-1
OPENSUSE-SU-2021:0025-1
OPENSUSE-SU-2021_0025-1
OPENSUSE-SU-2024:10896-1
USN-5659-1

Affected Products

Linuxmint
Suse
Ubuntu
Kitty