NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-27459: pyOpenSSL DTLS cookie callback buffer overflow

highCVSS 4.0 7.2GHSA-5pwr-322w-8jr4

If a user provided callback to setcookiegeneratecallback returned a cookie value greater than 256 bytes, pyOpenSSL would overflow an OpenSSL provided buffer. Cookie values that are too long are now rejected.

Published Mar 16, 2026 · Updated Mar 19, 2026

Affected packages

pyopenssl

Ecosystem
PyPI
Affected
>= 22.0.0, < 26.0.0
Fixed in
26.0.0
Check
pip show pyopenssl

Advisory details

From the GitHub Advisory Database (CC BY 4.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.

Cookie values that are too long are now rejected.

Credited to justlife4x4.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries