CVE-2025-4871 PCMan FTP Server REST Command buffer overflow

Medium 6.9 Published Updated

Remote attackers can exploit a buffer overflow in the REST command handler of PCMan FTP Server to execute arbitrary code or cause denial of service.

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-4871?

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

Official description

A vulnerability, which was classified as critical, has been found in PCMan FTP Server 2.0.7. This issue affects some unknown processing of the component REST Command Handler. The manipulation leads to buffer overflow. The attack may 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-4871?

It affects 1 product.

Products include Pcman Ftp Server.

How do I fix CVE-2025-4871?

No fix has been published for CVE-2025-4871 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-4871 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Pcman Ftp Server vulnerabilities

Sources

Also known as GHSA-pr2x-8w9v-pj52.

Is CVE-2025-4871 in your software?

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

Check your SBOMs for free