CVE-2025-30742 Memory corruption in atophttpd

Medium 5.3 Published Updated

An off-by-one error in atophttpd allows out-of-bounds reads, potentially leading to information disclosure or 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-30742?

CVE-2025-30742 is a medium-severity memory corruption vulnerability in pizhenwei atophttpd, published on 26 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

httpd.c in atophttpd 2.8.0 has an off-by-one error and resultant out-of-bounds read because a certain 1024-character req string would not have a final '\0' character.

Weakness: CWE-193

Which versions are affected by CVE-2025-30742?

How do I fix CVE-2025-30742?

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

There is no known exploitation of CVE-2025-30742 in the wild and no public exploit code.

Sources

Also known as GHSA-q67g-j9gg-987x.

Is CVE-2025-30742 in your software?

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

Check your SBOMs for free