HighGHSA-2rcm-phc9-3945CVE-2018-1000808PYSEC-2018-24

Pyopenssl Incorrect Memory Management

Published 10 Oct 2018 · Updated 21 Oct 2024

Is your project on an affected pyopenssl?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<17.5.0
Fixed in
17.5.0
Update to the fixed version for your release line, for example:pip install 'pyopenssl>=17.5.0'

Details

It was discovered that pyOpenSSL incorrectly handled memory when performing operations on a PKCS #12 store. A remote attacker could possibly use this issue to cause pyOpenSSL to consume resources, resulting in a denial of service.

This attack appear to be exploitable via Depends upon calling application, however it could be as simple as initiating a TLS connection that would cause the calling application to reload certificates from a PKCS #12 store. This vulnerability appears to have been fixed in 17.5.0.

Is GHSA-2rcm-phc9-3945 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected pyopenssl, and gives you the command that fixes it.

More advisories for pyopenssl

  • HighCVE-2026-27459pyOpenSSL DTLS cookie callback buffer overflow · 16 Mar 2026
  • LowCVE-2026-27448pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback · 16 Mar 2026
  • HighCVE-2013-4314PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name · 17 May 2022
  • HighCVE-2018-1000807PyOpenSSL Use-After-Free vulnerability · 10 Oct 2018
pyopenssl security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.