CVE-2023-53159
`openssl` `X509VerifyParamRef::set_host` buffer over-read
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.5
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.
- Record
CVE-2023-53159- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L - Weakness
- CWE-126
- Updated
- 2026-11-02
EUVDEUVD-2023-59771
4.5
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.
- Record
EUVD-2023-59771- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-xcf7-rvmh-g6q4
4.5
`openssl` `X509VerifyParamRef::set_host` buffer over-read
When this function was passed an empty string, openssl would attempt to call strlen on it, reading arbitrary memory until it reached a NUL byte.
- Record
GHSA-xcf7-rvmh-g6q4- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L - Weakness
- CWE-126
- Updated
- 2026-11-02
NVD
4.5
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.
- Record
CVE-2023-53159- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-126
- Updated
- 2026-11-02
OSV
4.5
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.
- Record
CVE-2023-53159- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L - Weakness
- CWE-126
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-53159
3.3
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.
- Record
DEBIAN-CVE-2023-53159- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
Show 5 moreShow less
OSVGHSA-xcf7-rvmh-g6q4
4.5
`openssl` `X509VerifyParamRef::set_host` buffer over-read
When this function was passed an empty string, openssl would attempt to call strlen on it, reading arbitrary memory until it reached a NUL byte.
- Record
GHSA-xcf7-rvmh-g6q4- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L - Weakness
- CWE-126
- Updated
- 2026-11-02
OSVOESA-2026-2944
9.1
rpm-ostree security update
rpm-ostree is a hybrid image/package system. It supports "composing" packages on a build server into an OSTree repository, which can then be replicated by client systems with atomic upgrades. Additionally, unlike many "pure" image systems, with rpm-ostree each client system can layer on additional packages, providing a "best of both worlds" approach.
Security Fix(es):
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.(CVE-2023-53159)
Improper Validation of Unsafe Equivalence in punycode by the idna crate from Servo rust-url allows an attacker to create a punycode hostname that one part of a system might treat as distinct while another part of that system would treat as equivalent to another hostname.(CVE-2024-12224)
A flaw was found in OpenSSL's handling of the properties argument in certain functions. This vulnerability can allow use-after-free exploitation, which may result in undefined behavior or incorrect property parsing, leading to OpenSSL treating the input as an empty string.(CVE-2025-3416)
- Record
OESA-2026-2944- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-53159
4.5
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.
- Record
UBUNTU-CVE-2023-53159- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVRUSTSEC-2023-0044 No score
`openssl` `X509VerifyParamRef::set_host` buffer over-read
When this function was passed an empty string, openssl would attempt to call strlen on it, reading arbitrary memory until it reached a NUL byte.
- Record
RUSTSEC-2023-0044- Updated
- 2026-11-02
OSVUSN-7891-1 No score
rust-openssl vulnerabilities
Matt Mastracci discovered that rust-openssl was incorrectly handling server lifetimes in certain functions. An attacker could possibly use this issue to cause a denial of service or run arbitrary memory content to the client. (CVE-2025-24898)
It was discovered that rust-openssl was incorrectly handling empty strings when setting the host in certain functions. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-53159)
It was discovered that rust-openssl was incorrectly handling property arguments in certain functions. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 24.04 LTS. (CVE-2025-3416)
- Record
USN-7891-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
opensslcrates.io |
0.10.0 up to 0.10.55 | 0.10.55 |
rust-opensslDebian:12 |
All versions, plus listed versions 0.10.45-10.10.57-10.10.64-10.10.68-10.10.70-1 Show 5 moreShow less0.10.72-10.10.73-10.10.78-10.10.79-10.10.81-1 |
None known |
rust-opensslDebian:13 |
before 0.10.57-1 | 0.10.57-1 |
rust-opensslDebian:14 |
before 0.10.57-1 | 0.10.57-1 |
rpm-ostreeopenEuler:22.03-LTS-SP4 From an advisory covering 3 CVEs |
before 2022.16-11.oe2203sp4 | 2022.16-11.oe2203sp4 |
opensslcrates.io |
0.0.0-0 up to 0.10.55 | 0.10.55 |
rust-opensslUbuntu:Pro:20.04:LTS |
before 0.10.23-1ubuntu0.1~esm1, plus listed versions 0.10.23-1 |
0.10.23-1ubuntu0.1~esm1 |
rust-opensslUbuntu:Pro:22.04:LTS |
before 0.10.36-1ubuntu0.1~esm1, plus listed versions 0.10.29-10.10.36-1 |
0.10.36-1ubuntu0.1~esm1 |
rust-opensslUbuntu:Pro:20.04:LTS From an advisory covering 3 CVEs |
before 0.10.23-1ubuntu0.1~esm1, plus listed versions 0.10.23-1 |
0.10.23-1ubuntu0.1~esm1 |
rust-opensslUbuntu:Pro:22.04:LTS From an advisory covering 3 CVEs |
before 0.10.36-1ubuntu0.1~esm1, plus listed versions 0.10.29-10.10.36-1 |
0.10.36-1ubuntu0.1~esm1 |
rust-opensslUbuntu:Pro:24.04:LTS From an advisory covering 3 CVEs |
before 0.10.57-1ubuntu0.1~esm1, plus listed versions 0.10.45-10.10.57-1 |
0.10.57-1ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-53159 is a medium vulnerability (CVSS 4.5) in Openssl, published June 20, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.23%, the 13th percentile. Fixed in openssl 0.10.55.
References
rustsec.org/advisories/RUSTSEC-2023-0044.html
github.com/sfackler/rust-openssl/issues/1965
crates.io/crates/openssl
github.com/sfackler/rust-openssl/pull/1968
nvd.nist.gov/vuln/detail/CVE-2023-53159
github.com/advisories/GHSA-xcf7-rvmh-g6q4
Show 11 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53159.json
security-tracker.debian.org/tracker/CVE-2023-53159
github.com/sfackler/rust-openssl
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2944
nvd.nist.gov/vuln/detail/CVE-2024-12224
nvd.nist.gov/vuln/detail/CVE-2025-3416
ubuntu.com/security/CVE-2023-53159
cve.org/CVERecord?id=CVE-2023-53159
ubuntu.com/security/notices/USN-7891-1
ubuntu.com/security/CVE-2025-3416
ubuntu.com/security/CVE-2025-24898