# CVE-2022-30284: Argument injection in python-libnmap

- Severity: Critical 9.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N`
- 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): 5.57%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-05-04T21:35:20.000Z
- Modified: 2026-06-17T04:43:24.613Z
- Also known as: GHSA-qwqv-j7jr-4hp6, PYSEC-2022-42999
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

In the python-libnmap package through 0.7.2 for Python, remote command execution can occur (if used in a client application that does not validate arguments). NOTE: the vendor believes it would be unrealistic for an application to call NmapProcess with arguments taken from input data that arrived over an untrusted network, and thus the CVSS score corresponds to an unrealistic use case. None of the NmapProcess documentation implies that this is an expected use case

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- python-libnmap (PyPI): before 0.7.3
- python-libnmap_project python-libnmap: up to 0.7.2

## Every score

- mitre: CVSS:3.1 9.0 Critical `CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N`
- GitHub: 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`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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://www.swascan.com/security-advisory-libnmap-2/> (exploit, advisory, evidence, mitigation, third-party-advisory)
- <https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process> (exploit, evidence, third-party-advisory, web)
- <https://pypi.org/project/python-libnmap/> (package, product, third-party-advisory)
- <https://github.com/savon-noir/python-libnmap/releases> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-30284> (advisory)
- <https://github.com/savon-noir/python-libnmap/commit/c36fecde90017befeb4853396d0e2aac93c95b64> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/python-libnmap/PYSEC-2022-42999.yaml> (web)
- <https://github.com/savon-noir/python-libnmap> (package)
- <https://github.com/savon-noir/python-libnmap/releases/tag/v0.7.3> (web)
- <https://pypi.org/project/python-libnmap> (web)
- <https://www.swascan.com/security-advisory-libnmap-2> (web)
- <https://github.com/advisories/GHSA-qwqv-j7jr-4hp6> (advisory)

## Sources

- CVE List: [CVE-2022-30284](https://www.cve.org/CVERecord?id=CVE-2022-30284), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-qwqv-j7jr-4hp6](https://github.com/advisories/GHSA-qwqv-j7jr-4hp6), CC-BY-4.0, modified 2024-10-25
- NVD: [CVE-2022-30284](https://nvd.nist.gov/vuln/detail/CVE-2022-30284), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-42999](https://osv.dev/vulnerability/PYSEC-2022-42999), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-30284 · Whole record: https://cve.day/CVE-2022-30284.json · Rebuilt by cve.day 2026-11-25T22:58:11.418Z
