Intel

AIKIDO-2026-10230

suppaftp is vulnerable to Use After Free

Use After Free Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 24, 2026

44

Medium Risk

This Affects:

RUSTsuppaftp
5.0.0 - 8.0.1
Fixed in 8.0.2
Are you affected? Scan for Free

TL;DR

Affected versions of this package contain an unsafe memory management vulnerability in the tcp_stream function, where a raw pointer is incorrectly treated as an independently heap-allocated TcpStream when it actually lives inline within a wrapper struct, leading to undefined behavior via double-free or heap corruption upon deallocation. An attacker who can influence the timing or frequency of TCP connection handling could potentially exploit this by triggering repeated connection teardowns, causing heap metadata corruption that may lead to denial of service or, in advanced scenarios, controlled memory overwrites that could be leveraged for arbitrary code execution.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

suppaftp is vulnerable to Use After Free in versions 5.0.0 - 8.0.1.

How to fix this

Upgrade the suppaftp library to the patch version.