# CVE-2025-30742: 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 h…

- Severity: Medium 5.3 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-03-26T00:00:00.000Z
- Modified: 2026-06-17T09:09:16.860Z
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- pizhenwei atophttpd: 2.8.0

## References

- <https://github.com/pizhenwei/atophttpd/blob/74c9f14796b15dc9de5839a5749202f933937a9c/httpd.c#L71-L72>
- <https://github.com/pizhenwei/atophttpd/blob/74c9f14796b15dc9de5839a5749202f933937a9c/httpd.c#L492-L496>
- <https://github.com/pizhenwei/atophttpd/blob/74c9f14796b15dc9de5839a5749202f933937a9c/httpd.c#L376-L381>

## Sources

- CVE List: [CVE-2025-30742](https://www.cve.org/CVERecord?id=CVE-2025-30742), CVE Terms of Use, modified 2025-03-26
- NVD: [CVE-2025-30742](https://nvd.nist.gov/vuln/detail/CVE-2025-30742), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-30742 · Whole record: https://cve.day/CVE-2025-30742.json · Rebuilt by cve.day 2026-11-25T22:58:55.515Z
