CVE-2025-48995: 
Python vulnerability analysis and mitigation

Overview

SignXML, an implementation of the W3C XML Signature standard in Python, disclosed a timing attack vulnerability (CVE-2025-48995) on June 2, 2025. The vulnerability affects versions prior to 4.0.4 when verifying signatures with X509 certificate validation turned off and HMAC shared secret set using the configuration signxml.XMLVerifier.verify(require_x509=False, hmac_key=...). This security issue was discovered and reported by ahacker1-securesaml (GitHub Advisory).

Technical details

The vulnerability occurs in the signature verification process when using the signxml.XMLVerifier.verify configuration with X509 certificate validation disabled and HMAC shared secret enabled. The verifier implementation may leak timing information during the HMAC comparison process, which could allow an attacker to reconstruct the correct HMAC for any data. The issue has been assigned a CVSS v4.0 score of 6.9 (MEDIUM) with the 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 (NVD).

Impact

The timing attack vulnerability could allow attackers to reconstruct the correct HMAC for any data by analyzing the timing differences during signature verification. This could potentially lead to signature forgery and compromise the integrity of the XML signature verification process (GitHub Advisory).

Exploitability

The vulnerability requires the specific configuration of SignXML with X509 certificate validation turned off and HMAC shared secret enabled. The attack vector is network-accessible, with low attack complexity and no privileges or user interaction required, as indicated by the CVSS score (NVD).

Mitigation and workarounds

The vulnerability has been patched in SignXML version 4.0.4. The fix implements the official time-safe HMAC Verification API from the cryptography library. Users should upgrade to version 4.0.4 or later to address this security issue (GitHub Commit).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

sid

python-signxml: 4.0.5+dfsg-1

Fixed

trixie

python-signxml: 4.0.5+dfsg-1

Fixed

Ubuntu

Unknown

devel

python-signxml

Unknown

resolute

python-signxml

Unknown

resolute (esm-apps)

python-signxml

Unknown

Source: This report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-46434HIGH7.1
  • Python logoPython
  • wger
NoNoOct 07, 2026
CVE-2026-62179MEDIUM6.5
  • Python logoPython
  • praisonai-platform
NoYesOct 07, 2026
CVE-2026-46438MEDIUM6.5
  • Python logoPython
  • wger
NoNoOct 07, 2026
CVE-2026-45161MEDIUM5.4
  • Python logoPython
  • wger
NoNoOct 07, 2026
CVE-2026-46437MEDIUM4.8
  • Python logoPython
  • wger
NoNoOct 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management