CVE-2023-53159
JSON

4.5medium

`openssl` `X509VerifyParamRef::set_host` buffer over-read

Severity
4.5medium CVSS:3.1 by mitre
Exploit likelihood
0.25% (higher than 10% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-xcf7-rvmh-g6q4RUSTSEC-2023-0044

Description

The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.

Affected

Product or packageVersionsReported by
sfackler opensslbefore 0.10.55CVE List, NVD
openssl (crates.io)from 0.10.0 before 0.10.55, from 0.0.0-0 before 0.10.55GitHub Advisory Database, RustSec Advisory Database

All scores

mitre4.5medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L
GitHub4.5medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L
NVD3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-126

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.

GitHub Advisory Database

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.

NVD (es)

El paquete openssl para Rust anterior a 0.10.55 permite una lectura fuera de los límites a través de una cadena vacía a X509VerifyParamRef::set_host.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53159 changed 2025-07-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-xcf7-rvmh-g6q4 changed 2026-09-10CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2023-0044 changed 2025-10-28CC0-1.0
NVDCVE-2023-53159 changed 2026-09-17Public domain