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?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40929Cpanel::JSON::XS before version 4.40 for Perl has an integer…5.6
- CVE-2025-4093Memory safety bug present in Firefox ESR 128.9, and Thunderb…8.1
- CVE-2025-40930JSON::SIMD before version 1.07 and earlier for Perl has an i…7.5
- CVE-2025-40931Apache::Session::Generate::MD5 versions through 1.94 for Per…9.1
- CVE-2025-40932Apache::SessionX versions through 2.01 for Perl create insec…8.2
- CVE-2025-40933Apache::AuthAny::Cookie v0.201 or earlier for Perl generates…7.5
- CVE-2025-40935A vulnerability has been identified in RUGGEDCOM RMC8388 V5.…5.3
- CVE-2025-40936A vulnerability has been identified in PS/IGES Parasolid Tra…7.8
- CVE-2025-40937A vulnerability has been identified in SIMATIC CN 4100 (All …8.8
- CVE-2025-40938A vulnerability has been identified in SIMATIC CN 4100 (All …9.8
- CVE-2025-40939A vulnerability has been identified in SIMATIC CN 4100 (All …5.1
- CVE-2025-4094The DIGITS: WordPress Mobile Number Signup and Login WordPre…9.8
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
