Skip to main content
Mallory
HighVulnerability

CVE-2026-59850: Use-after-free in libssh post-close channel data callbacks

Published Jul 21, 2026 · Updated 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days15 mentions · peak 4 in a dayToday
CVSS7.5High · v3.1
EPSS0.35%21st percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
F5Red HatLibssh
IdentifiersCVE-2026-59850CWE-416 · Use After Free

CVE-2026-59850 is a use-after-free vulnerability in libssh channel handling. When data packets are processed after a channel has closed, libssh can invoke channel data callbacks after their associated data has already been freed. A remote peer may trigger invalid memory access, causing an application crash and denial of service, or potentially arbitrary code execution. The flaw also affects the SSH Proxy feature in F5 BIG-IP Advanced Firewall Manager (AFM), where exploitation can crash an SSH worker process.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Affected libssh applications may crash when callbacks access freed channel-associated data. Arbitrary code execution is considered possible but is not established as a demonstrated outcome. In BIG-IP AFM configurations using SSH Proxy, exploitation can terminate the affected worker and disconnect every SSH session handled by that worker; other workers remain operational. Repeated exploitation could disrupt SSH service.

Mitigation

If you can’t patch tonight, do this now.

No vulnerability-specific temporary workaround is documented, and F5 lists no mitigation. Restricting untrusted SSH and SFTP access to affected libssh applications can reduce exposure but does not correct the memory-safety flaw. Apply security updates wherever available.

Remediation

Patch, then assume compromise.

Install the applicable vendor security update for libssh. Fixed Ubuntu package versions include 0.9.3-2ubuntu2.5+esm5 for Ubuntu 20.04 LTS, 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8 for Ubuntu 18.04 LTS, and 0.6.3-4.3ubuntu0.6+esm6 for Ubuntu 16.04 LTS. These updates require Ubuntu Pro, with the Legacy Support add-on additionally required for Ubuntu 16.04. Ubuntu security updates also identify fixed packages in versions 0.9.6-2ubuntu0.22.04.8 for 22.04 LTS, 0.10.6-2ubuntu0.5 for 24.04 LTS, and 0.11.3-1ubuntu2.1 for 26.04 LTS. Debian trixie provides fixes in libssh 0.11.5-0+deb13u1. EulerOS deployments should install the applicable updated libssh packages. For BIG-IP AFM, no fixed release was listed as of October 22, 2026; check current F5 guidance for a resolving release.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
F5BIG-IP Advanced Firewall Managerapplication
LibsshLibsshapplication
Red HatHardened Imagesapplication
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2026-59850 exploited in the wild?
As of Nov 24, 2026, Mallory has no reports of CVE-2026-59850 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-59850?
As of Nov 24, 2026, Mallory has found no public exploit for CVE-2026-59850.
Is there a patch for CVE-2026-59850?
Install the applicable vendor security update for libssh. Fixed Ubuntu package versions include 0.9.3-2ubuntu2.5+esm5 for Ubuntu 20.04 LTS, 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8 for Ubuntu 18.04 LTS, and 0.6.3-4.3ubuntu0.6+esm6 for Ubuntu 16.04 LTS.
What products are affected by CVE-2026-59850?
F5 BIG-IP Advanced Firewall Manager, Libssh, Red Hat Hardened Images, and Red Hat Enterprise Linux.
How severe is CVE-2026-59850?
CVE-2026-59850 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 0.35% (21st percentile) as of Nov 24, 2026.
Activity feed

Recent activity

53 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+34 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.