{"schemaVersion":3,"id":"CVE-2026-42851","aliases":["UBUNTU-CVE-2026-42851","DEBIAN-CVE-2026-42851"],"status":"published","duplicateOf":null,"title":null,"description":"Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, a program able to write bytes to a kitty terminal — a remote SSH peer, a downloaded file viewed with `cat`, a log line, an email body rendered in `less`, an issue body in a TUI, etc. — can cause kitty to execute attacker-supplied Python inside the running kitty process, with the user's full privileges. There is no approval prompt, no remote-control permission requirement, no shell-integration interaction, no clipboard touch, and no editor interaction. Version 0.47.0 fixes the issue.","dates":{"published":"2026-06-12T20:00:23.386Z","modified":"2026-06-16T13:12:55.145Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00194,"percentile":0.0863,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.030000000000000013,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00164},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00194,"percentile":0.0863}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00164,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00194,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00194,"percentile":0.0863}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_KOVIDGOYAL_KITTY","name":"Kitty","source":"github","url":"https://github.com/kovidgoyal/kitty/issues/3128","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"vendor":"debian","product":"kitty","name":"kitty","label":"kitty","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/kitty","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.41.1-2+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.47.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.41.1-2+deb13u2 | < 0.47.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"kitty","name":"kitty","label":"kitty","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/kitty","purlType":"deb","versions":[{"text":"< 0.32.2-1ubuntu0.4+esm2","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.45.0-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.32.2-1ubuntu0.4+esm2 | All versions (No fix recorded) | < 0.45.0-1ubuntu0.1~esm2","eol":null,"hubHref":null},{"vendor":"kovidgoyal","product":"kitty","name":"kitty","label":"kitty","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.47.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.47.0","eol":null,"hubHref":"/vendor/kovidgoyal/kitty"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332","label":"github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Exploit","Mitigation","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-42851","label":"ubuntu.com/security/CVE-2026-42851","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42851","label":"www.cve.org/CVERecord?id=CVE-2026-42851","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8763-1","label":"ubuntu.com/security/notices/USN-8763-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-42851","label":"security-tracker.debian.org/tracker/CVE-2026-42851","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21599-1","USN-8763-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21599-1","USN-8763-1"]},"timeline":[{"kind":"published","date":"2026-06-12T20:00:23.386Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-16T13:12:55.145Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T12:15:13.462Z","stale":false,"partial":false}}