CVE-2025-48995
published medium CVSS 4.0 · 6.9SignXML's signature verification with HMAC is vulnerable to a timing 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 timing attack. The verifier may leak information about the correct HMAC when comparing it with the user supplied hash, allowing users to reconstruct the correct HMAC for any data.
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:L/VI:N/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-208 CWE-208: Observable Timing Discrepancy
References
2Provider assertions
2GitHub_M · cna
SignXML's signature verification with HMAC is vulnerable to a timing attack
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 21ce4875552f306ae6a3c94722b203176e8059d486c73a0951b161ffb3699db3
- Ingested
- 23 Sep 2026, 08:50:57 UTC
- Source record
- Official CVE record