{"id":"CVE-2025-48995","published":"2025-06-02T16:23:27Z","modified":"2025-06-02T16:41:13Z","title":"SignXML's signature verification with HMAC is vulnerable to a timing attack","vendor":"XML-Security","product":"signxml","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00239,"percentile":0.15128,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://github.com/XML-Security/signxml/security/advisories/GHSA-gmhf-gg8w-jw42","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/XML-Security/signxml/commit/1b501faaacf34cf978a52dbc6915ec11e27611cd","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":3.03},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"xml-security","affectedVersions":[{"vendor":"XML-Security","product":"signxml","versions":["< 4.0.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-02T16:40:57.602093Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"signxml","vulnerableRanges":["<4.0.4"],"patched":["4.0.4"],"from":["GHSA-gmhf-gg8w-jw42","PYSEC-2026-1922"],"provenance":"source"}],"summary":{"text":"SignXML, a Python implementation of the W3C XML Signature standard maintained by XML-Security, contains a flaw in signature verification when HMAC shared-secret checking is used with X509 certificate validation turned off, in versions before 4.0.4. The HMAC comparison against the user-supplied hash can leak timing information about the correct value, which lets a remote, unauthenticated attacker with network access reconstruct the correct HMAC for arbitrary data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:46Z"},"euvd":{"id":"EUVD-2025-16676","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-xml-security-signxml-cve-2025-48994","parents":[{"from":"CVE-2025-48994","to":"CVE-2025-48995","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["signxml/verifier.py"],"commits":["https://github.com/XML-Security/signxml/commit/e3c0c2b82a3329a65d917830657649c98b8c7600","https://github.com/XML-Security/signxml/commit/1b501faaacf34cf978a52dbc6915ec11e27611cd"],"basis":"shared function","functions":["verify"]}]}]}}