PyOpenSSL Use-After-Free vulnerability
It was discovered that pyOpenSSL incorrectly handled memory when handling X509 objects. A remote attacker could use this issue to cause pyOpenSSL to crash, resulting in a denial of service, or possibly execute arbitrary code. This attack appears to be exploitable via Depends on the calling application and if it retains a reference to the memory. This vulnerability appears to have been fixed in 17.5.0.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pyopenssl | < 17.5.0 | 17.5.0 |
References
- https://github.com/pyca/pyopenssl/pull/723
- https://usn.ubuntu.com/3813-1/
- https://access.redhat.com/errata/RHSA-2019:0085
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00014.html
- https://github.com/advisories/GHSA-p28m-34f6-967q
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000807
- https://github.com/pyca/pyopenssl/commit/e73818600065821d588af475b024f4eb518c3509
- https://github.com/pyca/pyopenssl
- https://github.com/pypa/advisory-database/tree/main/vulns/pyopenssl/PYSEC-2018-23.yaml
- https://usn.ubuntu.com/3813-1
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-416- Platform
- Python (PyPI)
- Package
pyopenssl- Disclosed
- 08.10.2018
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2018-23 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-p28m-34f6-967q - CC BY 4.0
Vulnerability history: pyopenssl
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 09.2013 03.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Low 1
Disclosures per year
- 2017: 0
- 2018: 2
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 2
earlier: 1
-
PyOpenSSL Use-After-Free vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.