# CVE-2020-15690: In Nim before 1.2.6, the standard library asyncftpclient lacks a check for whether a message contains a newline character.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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): 3.22%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2021-01-30T05:12:58.000Z
- Modified: 2026-06-17T02:57:03.573Z
- Weaknesses: CWE-74
- Assigned by: mitre

## Description

In Nim before 1.2.6, the standard library asyncftpclient lacks a check for whether a message contains a newline character.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nim-lang nim: before 1.2.6

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/asyncftpclient.nim#L145> (exploit, third-party-advisory)
- <https://consensys.net/diligence/vulnerabilities/nim-asyncftpd-crlf-injection/> (exploit, third-party-advisory)
- <https://github.com/tintinweb/pub/tree/master/pocs/cve-2020-15690> (exploit, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/02/04/3> (exploit, mailing-list, third-party-advisory)
- <https://github.com/nim-lang/Nim/compare/v1.2.4...v1.2.6> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2020-15690 · Whole record: https://cve.day/CVE-2020-15690.json · Rebuilt by cve.day 2026-11-25T22:57:57.240Z
