Intel

AIKIDO-2026-10230

suppaftp is vulnerable to Use After Free

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

44

CVE Score

Medium

Use After Free

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.

How do I fix this?

Upgrade the suppaftp library to the patch version.

Who does this affect?

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

Package

Versions

5.0.0 - 8.0.1

Fixed in 8.0.2

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea