Live threats

All CVEs / Python-libnmap Project

CVE-2022-30284Python-libnmap Project Python-libnmap

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
4.3%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
May 4, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-88
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Python-libnmap.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI python-libnmap < 0.7.3 0.7.3 pip install "python-libnmap>=0.7.3"
PyPI python-libnmap < 0.7.3 0.7.3 pip install "python-libnmap>=0.7.3"

Per OSV / GitHub Advisories (GHSA-qwqv-j7jr-4hp6, PYSEC-2022-42999). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
python-libnmap_projectpython-libnmap≤ 0.7.2

Official sources

References

Links published by the sources. Open them with care.