CVE-2025-48995: XML-Security signxml · Timing Side Channel
Affects XML-Security signxmlSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 4.0.4 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade XML-Security signxml to 4.0.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIsignxmlpkg:pypi/signxmlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade SignXML to version 4.0.4 or later, where the timing attack vulnerability has been addressed by implementing constant-time comparison functions during HMAC verification. If upgrading is not immediately feasible, organizations should ensure that X509 certificate validation is enabled (require_x509=True) to avoid using the vulnerable HMAC verification path. Additionally, review and audit XML signature verification configurations to confirm that HMAC keys are not used insecurely or without proper certificate validation. Implement network-level protections such as rate limiting and anomaly detection to identify and block suspicious timing attack attempts. Where possible, employ additional layers of cryptographic validation or use alternative secure libraries that do not exhibit timing side channels. Finally, conduct security awareness and training for developers and system administrators on secure XML signature practices and the risks of disabling certificate validation.
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.