Kitty is a cross-platform GPU based terminal. Versions 0.46.2 and below contain a heap buffer overflow in loadimagedata() that allows any process which can write to the terminal's stdin to crash kitty immediately. The vulnerability is triggered by a single APC graphics protocol command with a PNG format declaration (f=100) whose payload exceeds twice the initial buffer capacity. The overflow is attacker-controlled in both length and content, causing DoS and potentially escalation to RCE itself. This issue has been fixed in version 0.47.0.
{
"binaries": [
{
"binary_version": "0.32.2-1ubuntu0.4+esm1",
"binary_name": "kitty"
},
{
"binary_version": "0.32.2-1ubuntu0.4+esm1",
"binary_name": "kitty-shell-integration"
},
{
"binary_version": "0.32.2-1ubuntu0.4+esm1",
"binary_name": "kitty-terminfo"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
{
"availability": "No subscription required",
"binaries": [
{
"binary_version": "0.41.1-2+deb13u1build0.25.10.1",
"binary_name": "kitty"
},
{
"binary_version": "0.41.1-2+deb13u1build0.25.10.1",
"binary_name": "kitty-shell-integration"
},
{
"binary_version": "0.41.1-2+deb13u1build0.25.10.1",
"binary_name": "kitty-terminfo"
}
]
}
{
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_version": "0.45.0-1ubuntu0.1~esm1",
"binary_name": "kitty"
},
{
"binary_version": "0.45.0-1ubuntu0.1~esm1",
"binary_name": "kitty-shell-integration"
},
{
"binary_version": "0.45.0-1ubuntu0.1~esm1",
"binary_name": "kitty-terminfo"
}
]
}