CVE-2026-95834
CVE-2026-95834 · Use after free in the kitty drag and drop protocol when a drag source item is aborted mid-transfer
CVSS 4.6 · Moyenne · EPSS 0,2% · Correctif disponible
Comparez avec votre version installée
Les produits concernés et les versions corrigées connues sont des informations publiques. Comparez-les avec votre version installée.
- kittyMettez à jour vers 0.49.0
- kitty Debian 12Aucun correctif publié
- kitty Debian 13Aucun correctif publié
- kitty Debian 14Aucun correctif publié
- et 5 de plus
Vérifiez la version installée :
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="kitty"'Évaluez les risques de votre serveur
La vérification gratuite donne une note et un résumé des risques par pile technologique, sans inscription. Elle ne précise pas si cette vulnérabilité particulière vous concerne.
La surveillance compare les informations publiques aux logiciels de vos serveurs. Elle fournit les résultats détaillés et l’ordre des mises à jour.
curl -fsSL https://patchfirst.dev/check.sh | shLes canaux diffusent des actualités générales sur les technologies ; la surveillance signale les nouveaux résultats sur vos serveurs dans votre tableau de bord, par notification du navigateur, dans Telegram ou par webhook.
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
kitty
- Versions du logiciel
- ≥ 0.47.0, < 0.49.0: Concernée (semver)
Mettez à jour vers 0.49.0
kitty Debian 12
- Versions du logiciel
- 0.26.5-5
- 0.30.1-1
- 0.31.0-1
- 0.31.0-2
- 0.31.0-3
- 0.31.0-4
Toutes les versions (40)
- 0.32.0-1
- 0.32.1-1
- 0.32.2-1
- 0.33.0-2
- 0.33.1-1
- 0.34.1-1
- 0.35.1-1
- 0.35.2-1
- 0.36.1-1
- 0.36.4-1
- 0.36.4-2
- 0.36.4-3
- 0.37.0-1
- 0.38.1-1
- 0.39.0-1
- 0.39.1-1
- 0.40.0-1
- 0.41.1-1
- 0.41.1-2
- 0.42.1-1
- 0.42.2-1
- 0.43.1-1
- 0.44.0-1
- 0.45.0-1
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- 0.47.3-1
- 0.47.4-1
- 0.48.2-1
- 0.48.2-1.1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
kitty Debian 13
- Versions du logiciel
- 0.41.1-2
- 0.41.1-2+deb13u1
- 0.41.1-2+deb13u2
- 0.42.1-1
- 0.42.2-1
- 0.43.1-1
Toutes les versions (18)
- 0.44.0-1
- 0.45.0-1
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- 0.47.3-1
- 0.47.4-1
- 0.48.2-1
- 0.48.2-1.1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
kitty Debian 14
- Versions du logiciel
- 0.41.1-2
- 0.42.1-1
- 0.42.2-1
- 0.43.1-1
- 0.44.0-1
- 0.45.0-1
Toutes les versions (16)
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- 0.47.3-1
- 0.47.4-1
- 0.48.2-1
- 0.48.2-1.1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
kitty Ubuntu Pro 20.04 LTS
- Versions du logiciel
- 0.14.3-1
- 0.14.4-1
- 0.14.6-1
- 0.15.0-1
- 0.15.0-1build1
- 0.15.0-1ubuntu0.2
Toutes les versions (7)
- 0.15.0-1ubuntu0.2+esm1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
kitty Ubuntu Pro 22.04 LTS
- Versions du logiciel
- 0.19.3-1
- 0.21.2-1
- 0.21.2-1build1
- 0.21.2-1ubuntu0.22.04.1
- 0.21.2-1ubuntu0.22.04.1+esm1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
kitty Ubuntu Pro 24.04 LTS
- Versions du logiciel
- 0.26.5-3ubuntu2
- 0.26.5-5ubuntu1
- 0.31.0-3
- 0.31.0-4
- 0.32.2-1
- 0.32.2-1build2
Toutes les versions (13)
- 0.32.2-1build3
- 0.32.2-1ubuntu0.1
- 0.32.2-1ubuntu0.2
- 0.32.2-1ubuntu0.3
- 0.32.2-1ubuntu0.4
- 0.32.2-1ubuntu0.4+esm1
- 0.32.2-1ubuntu0.4+esm2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
kitty Ubuntu 26.10
- Versions du logiciel
- 0.45.0-1build1
- 0.47.0-3
- 0.47.4-1
- 0.48.2-1.1ubuntu1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
kitty Ubuntu Pro 26.04 LTS
- Versions du logiciel
- 0.41.1-2
- 0.43.1-1
- 0.44.0-1
- 0.45.0-1
- 0.45.0-1build1
- 0.45.0-1ubuntu0.1~esm1
Toutes les versions (7)
- 0.45.0-1ubuntu0.1~esm2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié