# CVE-2020-11939: In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlled remote heap overf…

- 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.30%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-04-23T14:18:36.000Z
- Modified: 2026-06-17T02:51:05.787Z
- Weaknesses: CWE-190, CWE-787
- Assigned by: mitre

## Description

In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlled remote heap overflow in concat_hash_string in ssh.c. Due to the granular nature of the overflow primitive and the ability to control both the contents and layout of the nDPI library's heap memory through remote input, this vulnerability may be abused to achieve full Remote Code Execution against any network inspection stack that is linked against nDPI and uses it to perform network traffic analysis.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ntop ndpi: up to 3.2

## 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://securitylab.github.com/advisories/GHSL-2020-051_052-ntop-ndpi> (exploit, third-party-advisory)
- <https://github.com/ntop/nDPI/commit/7ce478a58b4dd29a8d1e6f4e9df2f778613d9202> (patch, third-party-advisory)

## Sources

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

---

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