CVE-2020-35605

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-35605
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-35605.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-35605
Downstream
Related
Published
2020-12-21T20:15:12Z
Modified
2025-09-19T08:59:23.889480Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The Graphics Protocol feature in graphics.c in kitty before 0.19.3 allows remote attackers to execute arbitrary code because a filename containing special characters can be included in an error message.

References

Affected packages

Git / github.com/kovidgoyal/kitty

Affected ranges

Type
GIT
Repo
https://github.com/kovidgoyal/kitty
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.10.0
v0.10.1
v0.11.0
v0.11.1
v0.11.2
v0.11.3
v0.12.0
v0.12.1
v0.12.2
v0.12.3
v0.13.0
v0.13.1
v0.13.2
v0.13.3
v0.14.0
v0.14.1
v0.14.2
v0.14.3
v0.14.4
v0.14.5
v0.14.6
v0.15.0
v0.15.1
v0.16.0
v0.17.0
v0.17.1
v0.17.2
v0.17.3
v0.17.4
v0.18.0
v0.18.1
v0.18.2
v0.18.3
v0.19.0
v0.19.1
v0.19.2
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.2.7
v0.2.8
v0.3.0
v0.4.0
v0.4.1
v0.4.2
v0.5.0
v0.5.1
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.8.4
v0.9.0
v0.9.1

Database specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "227269925296018895249483571032929422012",
                    "220127328629692419933635103745836897841",
                    "36417602568550974559131120750129651633",
                    "52024240859601157366622675036429307366"
                ]
            },
            "deprecated": false,
            "signature_type": "Line",
            "source": "https://github.com/kovidgoyal/kitty/commit/82c137878c2b99100a3cdc1c0f0efea069313901",
            "id": "CVE-2020-35605-a19f02cf",
            "signature_version": "v1",
            "target": {
                "file": "kitty/graphics.c"
            }
        },
        {
            "digest": {
                "function_hash": "70778177034192887938523877757161121408",
                "length": 6815.0
            },
            "deprecated": false,
            "signature_type": "Function",
            "source": "https://github.com/kovidgoyal/kitty/commit/82c137878c2b99100a3cdc1c0f0efea069313901",
            "id": "CVE-2020-35605-c272724e",
            "signature_version": "v1",
            "target": {
                "file": "kitty/graphics.c",
                "function": "handle_add_command"
            }
        }
    ]
}