pyOpenSSL
pyOpenSSL DTLS cookie callback buffer overflow
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by NVD · CWE-120
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
pyca pyopenssl
- >= 22.0.0, < 26.0.0
Fixed in 26.0.0
Mitigation
Upgrade pyopenssl to 26.0.0 or later.
References
- Vendor advisory github.com/pyca/pyopenssl/security/advisories/…
- Patch github.com/pyca/pyopenssl/commit/57f09bb4bb051…
- Release notes github.com/pyca/pyopenssl/blob/358cbf29c4e364c…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.