CVE-2023-50781
Python vulnerability analysis and mitigation

Overview

A critical security flaw (CVE-2023-50781) was discovered in m2crypto, affecting TLS servers that use RSA key exchanges. The vulnerability was disclosed on February 5, 2024, and represents an incomplete fix for a previous vulnerability (CVE-2020-25657). The flaw affects multiple versions of m2crypto across various operating systems, including Red Hat Enterprise Linux and Ubuntu distributions (NVD, Red Hat).

Technical details

The vulnerability is related to Bleichenbacher timing attacks in the RSA decryption API. It has been assigned a CVSS v3.1 base score of 7.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. The issue stems from API design limitations that make it difficult to fully address the leakage in RSA decryption. The vulnerability specifically affects applications that use RSA decryption with PKCS#1 v1.5 padding (Red Hat Bugzilla).

Impact

The vulnerability allows remote attackers to decrypt captured messages in TLS servers that utilize RSA key exchanges. This can lead to the exposure of confidential or sensitive data transmitted through affected systems. The high confidentiality impact rating indicates significant potential for unauthorized information disclosure (NVD).

Mitigation and workarounds

The issue can be mitigated by using a cryptographic backend that implements implicit rejection (Marvin workaround). Due to the API design limitations, a complete fix is generally not believed to be possible (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23949HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 20, 2026
CVE-2026-22219HIGH8.3
  • PythonPython
  • chainlit
NoYesJan 20, 2026
CVE-2026-23842HIGH7.5
  • PythonPython
  • chatterbot
NoYesJan 19, 2026
CVE-2026-23877MEDIUM5.3
  • PythonPython
  • swingmusic
NoYesJan 19, 2026
CVE-2026-23833LOW1.7
  • PythonPython
  • esphome
NoYesJan 19, 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