pyOpenSSL is a Python wrapper around the OpenSSL library. Starting in version 22.0.0 and prior to version 26.0.0, if a user provided callback to `set_cookie_generate_callback` returned a cookie value greater than 256 bytes, pyOpenSSL would overflow an OpenSSL provided buffer. Starting in version 26.0.0, cookie values that are too long are now rejected.
Security readout for executives and security teams
Plain-English summary
A flaw in pyOpenSSL can corrupt memory when certain DTLS cookie callbacks return oversized cookie values. The issue affects versions 22.0.0 through before 26.0.0. It is high severity because successful exploitation could affect confidentiality, integrity, and availability, but the published vector rates attack complexity as high.
Executive priority
Prioritize remediation for externally reachable DTLS services or products embedding affected pyOpenSSL versions. The issue is high severity, but evidence provided does not support emergency active-exploitation handling.
Technical view
In affected pyOpenSSL versions, a user-supplied set_cookie_generate_callback result longer than 256 bytes could overflow an OpenSSL-provided buffer. Version 26.0.0 rejects oversized cookie values. The CVSS 3.1 score is 8.1 with network attack vector, no privileges, no user interaction, and high complexity.
Likely exposure
Exposure is most likely in Python services using pyOpenSSL 22.0.0 to before 26.0.0 with DTLS cookie generation callbacks. General pyOpenSSL dependency alone may not mean the vulnerable callback path is reachable.
Exploitation context
The source bundle does not show KEV listing or cited active exploitation. The CVSS vector indicates remote reachability but high attack complexity. Treat internet-facing DTLS services using affected callback behavior as higher priority.
Researcher notes
Key constraints are the affected version range and the specific callback behavior. Validate reachability before broad impact claims. Avoid assuming all pyOpenSSL consumers are exploitable without evidence that DTLS cookie generation callbacks are used.
Mitigation direction
Upgrade pyOpenSSL to version 26.0.0 or later.
Apply relevant Red Hat security errata for downstream packaged deployments.
Inventory applications using pyOpenSSL DTLS cookie callbacks.
Follow vendor guidance if immediate upgrade is not possible.
Rebuild and redeploy affected Python environments after dependency updates.
Validation and detection
Check installed pyOpenSSL versions across runtime images and hosts.
Search code for set_cookie_generate_callback usage.
Confirm DTLS-facing services do not load affected pyOpenSSL versions.
Verify patched packages or pyOpenSSL 26.0.0+ in deployed artifacts.
Track Red Hat advisories for applicable platform package status.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-120: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
24Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-120 · source CWE mapping
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.