Bug 2498183 (CVE-2026-59850) - CVE-2026-59850 libssh: libssh: use-after-free via data callbacks on closed channels
Summary: CVE-2026-59850 libssh: libssh: use-after-free via data callbacks on closed ch...
Keywords:
Status: NEW
Alias: CVE-2026-59850
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2503675
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-08 18:22 UTC by OSIDB Bzimport
Modified: 2026-07-21 15:16 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-08 18:22:50 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.