CVE-2025-5331 PCMan FTP Server NLST Command buffer overflow

Medium 6.9 Published Updated

Remote attackers can trigger a buffer overflow in the NLST command handler of PCMan FTP Server, potentially leading to code execution or service disruption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-5331?

CVE-2025-5331 is a medium-severity memory corruption vulnerability in Pcman Ftp Server, published on 29 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability has been found in PCMan FTP Server 2.0.7 and classified as critical. This vulnerability affects unknown code of the component NLST Command Handler. The manipulation leads to buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-120, CWE-119

Which versions are affected by CVE-2025-5331?

It affects 1 product.

Products include Pcman Ftp Server.

How do I fix CVE-2025-5331?

No fix has been published for CVE-2025-5331 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-5331 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5331 exists.

All Pcman Ftp Server vulnerabilities

Sources

Also known as GHSA-93qg-f4mj-vh6p.

Is CVE-2025-5331 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free