# CVE-2023-24042: A race condition in LightFTP through 2.2 allows an attacker to achieve path traversal via a malformed FTP request.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-21T00:00:00.000Z
- Modified: 2026-06-17T05:38:32.207Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

A race condition in LightFTP through 2.2 allows an attacker to achieve path traversal via a malformed FTP request. A handler thread can use an overwritten context->FileName.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- hfiref0x lightftp: up to 2.2

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/hfiref0x/LightFTP/issues/25> (exploit, issue-tracking, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-24042 · Whole record: https://cve.day/CVE-2023-24042.json · Rebuilt by cve.day 2026-11-25T22:58:21.693Z
