CVE-2025-40934
published critical CVSS 3.1 · 9.3XML-Sig prior to 0.68 for Perl improperly validates XML without signatures
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TIMLEGGE | — | XML-SigXML::Sig · 0.27 to < 0.68 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Alpine Linux | edge | perl-xml-sig | Fixed | 0.68-r0 | Package fix record |
| Alpine Linux | v3.22 | perl-xml-sig | Fixed | 0.68-r0 | Package fix record |
| Alpine Linux | v3.23 | perl-xml-sig | Fixed | 0.68-r0 | Package fix record |
| Alpine Linux | v3.24 | perl-xml-sig | Fixed | 0.68-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TIMLEGGE | XML::Sig | 0.27 to < 0.68 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-347 CWE-347 Improper Verification of Cryptographic Signature
References
2Provider assertions
2CPANSec · cna
XML-Sig prior to 0.68 for Perl improperly validates XML without signatures
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9842ba38b1bc85cd04d55c5ce1113592eacc3d1787cc175e2a2ade802e623636
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record