CVE-2025-40934
Last modified
CVE-2025-40934 is a critical-severity vulnerability rated 9.3/10 on the CVSS scale. XML-Sig versions 0.27 through 0.67 for Perl incorrectly validates XML files if signatures are omitted. An attacker can remove the signature from the XML document to make it pass the verification check. XML-Sig is a Perl module to validate signatures on XML files. An unsigned XML file should return an error message. The affected versions return true when attempting to validate an XML file that contains no signatures.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
XML-Sig versions 0.27 through 0.67 for Perl incorrectly validates XML files if signatures are omitted. An attacker can remove the signature from the XML document to make it pass the verification check. XML-Sig is a Perl module to validate signatures on XML files. An unsigned XML file should return an error message. The affected versions return true when attempting to validate an XML file that contains no signatures.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Xml\ | \ | >= 0.27, <= 0.67 | Xml\ |
References
- https://github.com/perl-net-saml2/perl-XML-Sig/issues/63Issue Tracking, Patch
- https://github.com/perl-net-saml2/perl-XML-Sig/pull/64Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-40934?
How severe is CVE-2025-40934?
How do I fix CVE-2025-40934?
Are you affected by CVE-2025-40934?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
