Read the docs
TI-2025-31122 Aliases CVE-2025-48994GHSA-6vx8-pcwv-xhf4

SignXML's signature verification with HMAC is vulnerable to an algorithm confusion attack

Priority LOW 36CWE-303Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

SignXML is an implementation of the W3C XML Signature standard in Python. When verifying signatures with X509 certificate validation turned off and HMAC shared secret set (`signxml.XMLVerifier.verify(require_x509=False, hmac_key=...`), versions of SignXML prior to 4.0.4 are vulnerable to a potential algorithm confusion attack. Unless the user explicitly limits the expected signature algorithms using the `signxml.XMLVerifier.verify(expect_config=...)` setting, an attacker may supply a signature unexpectedly signed with a key other than the provided HMAC key, using a different (asymmetric key) signature algorithm. Starting with SignXML 4.0.4, specifying `hmac_key` causes the set of accepted signature algorithms to be restricted to HMAC only, if not already restricted by the user.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00228 13th percentileScored 2026-11-07
Fix Fixed signxml (XML-Security): 4.0.4signxml (PyPI): 4.0.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XML-Securitysignxmlbefore 4.0.44.0.4Patch availableCNA
—signxml (PyPI)before 4.0.44.0.4Patch availableGHSA-6vx8-pcwv-xhf4
  • signxml VendorXML-Security Affected before 4.0.4 Fixed in 4.0.4 Patch available CNA
  • signxml (PyPI) Vendor— Affected before 4.0.4 Fixed in 4.0.4 Patch available GHSA-6vx8-pcwv-xhf4

Remediation

  • Fix · CNA signxml (XML-Security) Fixed in 4.0.4
  • Fix · GHSA-6vx8-pcwv-xhf4 signxml (PyPI) Fixed in 4.0.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-48994
  2. 2026-10-03 Alias added: GHSA-6vx8-pcwv-xhf4

References

  • TI-2025-31123 SignXML's signature verification with HMAC is vulnerable to a timing attack CVSS 4.0MEDIUM 6.9

Sources