CVE-2026-95834Kovid Goyal Kitty use-after-free
Scor CVSS
4.6
Mediu
CVSS 4.0 de la 4daa8cea-433a-44bd-9456-53b127fc289a
Probabilitate de exploatare (EPSS)
0.13%
Șansă de 0.13% să fie exploatată în următoarele 30 de zile, peste 2.33% dintre toate CVE-urile.
CISA KEV
Nu este în KEV
CISA nu a raportat până acum exploatări confirmate.
Descrierea oficială
Use After Free in the drag source path of the drag and drop protocol in kitty from 0.47.0 before 0.49.0 allows a program writing to the terminal to cause the terminal to read from and write to freed heap memory, because drag_remote_file_data() in kitty/dnd.c holds a DragRemoteItem pointer into an array it does not own, calls toplevel_data_for_drag() or subdir_data_for_drag(), and then continues to use that pointer. Those helpers, and add_payload() and populate_dir_entries() which they call, report errors through the abrt() macro, which expands to cancel_drag() followed by a plain return, and cancel_drag() calls drag_free_offer(), which frees the array the pointer refers to. The helpers return void, so the caller receives no indication that the teardown happened, and proceeds to call all_children_complete() on the freed pointer, which dereferences it, and then to write through it. That dereference is guarded by a local flag that is set when the request carries no payload and announces no further data, which is the same condition that selects the finalisation block of add_payload(), so the error paths in that block reach it: a create that fails because an entry of the same name already exists, because the client may declare two entries with one name and the create operations use O_CREAT with O_EXCL and symlinkat(), a mkdirat() failure other than EEXIST, and the directory entry allocation paths. Both branches reach it. In the top level branch the caller's pointer is never cleared, so clearing the owning structure's own pointers during teardown does not help. In the sub directory branch subdir_data_for_drag() sets the caller's pointer to NULL on entry and assigns it only after its own last error path, so its own aborts leave the caller with NULL and are stopped by a null check, but it then calls add_payload() with that pointer set, and an abort there leaves the caller holding a freed child node inside the item tree, which drag_free_offer() frees by recursion. This results in undefined behaviour in the terminal process, reachable from the byte stream of any program running in the window.
Sursa: NVD · CNA: 4daa8cea-433a-44bd-9456-53b127fc289a
Cum îl remediezi, pas cu pas
Verifică dacă ești afectat
Identifică toate sistemele care rulează Kovid Goyal Kitty și compară versiunea lor cu versiunile afectate.
Actualizează la o versiune remediată
- Actualizează Kitty la 0.49.0 sau mai nou.
Confirmă remedierea
Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.
Ți-a fost util?
Cum poate fi exploatată
- Vector de atac
- Local
- Complexitatea atacului
- Scăzut
- Condiții de atac
- Niciunul
- Privilegii necesare
- Niciunul
- Interacțiune cu utilizatorul
- Activă
- Confidențialitate
- Niciunul
- Integritate
- Scăzut
- Disponibilitate
- Scăzut
Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Produse afectate
| Produse afectate | Versiuni |
|---|---|
| Kovid Goyal Kitty | ≥ 0.47.0, < 0.49.0 |
Tip de slăbiciune
- CWE-416 use-after-free
Cronologie
- Publicat:
- Ultima modificare:
Întrebări frecvente
Este CVE-2026-95834 exploatată?
Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.1% de exploatare în următoarele 30 de zile.
Care este scorul CVSS pentru CVE-2026-95834?
CVE-2026-95834 are un scor de bază CVSS 4.0 de 4.6 (mediu).
Ce versiuni sunt afectate?
Kovid Goyal Kitty (≥ 0.47.0, < 0.49.0)
Există patch pentru CVE-2026-95834?
Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.
Referințe
Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.