CVE-2025-48995 MEDIUM

CVE-2025-48995: SignXML's signature verification with HMAC is vulnerable to a timing attack

Vendor Xml-Security
Product signxml
Weakness CWE-208
Published June 2, 2025
Last update June 2, 2025

CVSS base score

6.9/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 2, 2025 CVE published
June 2, 2025 Record updated

Related vulnerabilities

04Related CVE