Critical Memory Corruption Vulnerability in perl-XML-Parser
Summary
RLSA-2026:7680: Important: perl-XML-Parser security update. Affects perl-XML-Parser versions < 0:2.47-6.1.el10_1. Fixed in 0:2.47-6.1.el10_1. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
perl-XML-Parser is a Perl module that provides methods for parsing XML documents. It is built on the XML::Parser::Expat interface, which utilizes James Clark's expat library. The module allows users to create XML::Parser objects with customizable options for parsing XML files. However, it has been found to be vulnerable to memory corruption issues when handling deeply nested XML files, which can lead to severe security risks.
Vulnerability Detail
The perl-XML-Parser module has two critical vulnerabilities: CVE-2006-10002 and CVE-2006-10003. CVE-2006-10002 involves heap corruption and potential denial of service when processing specially crafted XML input. CVE-2006-10003 allows for memory corruption through deeply nested XML files. Both vulnerabilities can lead to application crashes and unauthorized access to sensitive information, posing significant risks to systems relying on this module.
How To Fix
Minimum fixed version
0:2.47-6.1.el10_1
This is the first release that contains the fix.
sudo dnf update perl-XML-Parser
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, avoid processing untrusted or deeply nested XML files until the package is updated. Implementing input validation and sanitization can also help mitigate risks associated with this vulnerability.
Conclusion
The perl-XML-Parser module has critical vulnerabilities that can lead to memory corruption and denial of service. It is crucial to update to the patched version to safeguard your applications. Additionally, using tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for perl-XML-Parser →
FAQ
The CVSS score for the vulnerabilities in perl-XML-Parser is 8.8, indicating a high severity level.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Simply upload your manifest file, such as package-lock.json, to check for vulnerabilities.
The vulnerabilities can lead to memory corruption, application crashes, and unauthorized access to sensitive data, posing significant security risks.
Yes, you can avoid processing untrusted XML files and implement input validation to mitigate risks until the patch is applied.
More details can be found on the CVE pages for CVE-2006-10002 and CVE-2006-10003, which provide in-depth information about the vulnerabilities and their impacts.
Related vulnerabilities
Recent vulnerabilities recorded for perl-XML-Parser.