Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in libssh channel data handling. In channel_rcv_data() in src/channels.c, incoming channel DATA messages could still be processed after the channel had already been marked as remotely closed. In SFTP-backed applications and other callback-driven consumers, this creates a path where data callbacks may observe channel-associated state after it has already been torn down or freed, leading to crashes and possible use-after-free conditions.