# CVE-2020-25340: NFStream Local Denial of Service (DoS)

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-16T14:23:50.000Z
- Modified: 2026-06-17T03:06:44.300Z
- Also known as: GHSA-whmq-cfm5-j8mj, PYSEC-2021-68
- Weaknesses: CWE-401, CWE-770
- Assigned by: mitre

## Description

An issue was discovered in NFStream 5.2.0. Because some allocated modules are not correctly freed, if the nfstream object is directly destroyed without being used after it is created, it will cause a memory leak that may result in a local denial of service (DoS).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nfstream (PyPI): 5.2.0; before 6.0.0
- nfstream nfstream: 5.2.0

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/ntop/nDPI/issues/994> (exploit, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25340> (advisory)
- <https://github.com/nfstream/nfstream> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nfstream/PYSEC-2021-68.yaml> (web)
- <https://github.com/advisories/GHSA-whmq-cfm5-j8mj> (advisory)

## Sources

- CVE List: [CVE-2020-25340](https://www.cve.org/CVERecord?id=CVE-2020-25340), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-whmq-cfm5-j8mj](https://github.com/advisories/GHSA-whmq-cfm5-j8mj), CC-BY-4.0, modified 2024-09-26
- NVD: [CVE-2020-25340](https://nvd.nist.gov/vuln/detail/CVE-2020-25340), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-68](https://osv.dev/vulnerability/PYSEC-2021-68), CC-BY-4.0, modified 2026-06-10

---

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