XML Injection Vulnerability in python-libnmap

python-libnmap Updated 02 Oct 2025

Summary

15/07/2019
N/A
Yes i
High
7.5

CVE-2019-1010017: libnmap < v0.6.3 is affected by: XML Injection. Affects python-libnmap across 2 version ranges.

< 0.7.2-1 < 0ed5e37133cd069d5e509ba74e54abc01adc07b0

Fixed in 0.7.2-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

python-libnmap is a Python library that provides a convenient interface for interacting with Nmap, a powerful network scanning tool. It allows users to parse and manipulate Nmap XML output. However, versions prior to 0.6.3 are vulnerable to XML Injection attacks, which can lead to a denial of service (DoS) by consuming excessive resources. The vulnerability lies in the XML parsing component of the library.

Vulnerability Detail

The XML Injection vulnerability in python-libnmap allows an attacker to inject specially crafted XML payloads, which can cause the library to consume excessive resources, resulting in a DoS condition. By manipulating the XML input, an attacker can exploit this vulnerability to exhaust system resources, potentially leading to service disruption or system unavailability. The attack vector for this vulnerability is a specially crafted XML payload.

How To Fix

Minimum fixed version

0.7.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-libnmap

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is strongly advised to upgrade to the fixed version of python-libnmap to mitigate the risk of exploitation.

Conclusion

The XML Injection vulnerability in python-libnmap can lead to a denial of service (DoS) condition by consuming excessive system resources. It is crucial to upgrade to python-libnmap version 0.6.3 or later to mitigate the risk of exploitation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-libnmap →

Share this vulnerability

FAQ

The vulnerability can lead to a denial of service (DoS) condition by consuming excessive system resources, potentially causing service disruption or system unavailability.

The attack vector for this vulnerability is a specially crafted XML payload that is processed by the python-libnmap library.

No, only versions prior to 0.6.3 are affected. It is recommended to upgrade to version 0.6.3 or later to mitigate the vulnerability.

Yes, the vulnerability has been fixed in python-libnmap version 0.7.2-1. It is advised to upgrade to this version or later to address the vulnerability.

No, there is no known workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for python-libnmap.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.7.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-libnmap

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback