CVE-2025-48994
published medium CVSS 4.0 · 6.9SignXML's signature verification with HMAC is vulnerable to an algorithm confusion attack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| XML-Security | — | signxml< 4.0.4 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| XML-Security | signxml | < 4.0.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-303 CWE-303: Incorrect Implementation of Authentication Algorithm
References
2Provider assertions
2GitHub_M · cna
SignXML's signature verification with HMAC is vulnerable to an algorithm confusion attack
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5d010b405d02d9d9b3c6156bc6f0e0aa596d466dad3b70fa4630d4ba8679fb0f
- Ingested
- 23 Sep 2026, 08:50:57 UTC
- Source record
- Official CVE record