CVE-2025-40934 Affecting perl-xml-sig package, versions <0.68-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE322-PERLXMLSIG-14124295
  • published27 Nov 2025
  • disclosed26 Nov 2025

Introduced: 26 Nov 2025

NewCVE-2025-40934  (opens in a new tab)

How to fix?

Upgrade Alpine:3.22 perl-xml-sig to version 0.68-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-xml-sig package and not the perl-xml-sig package as distributed by Alpine. See How to fix? for Alpine:3.22 relevant fixed versions and status.

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.