CVE-2025-9232: Out-of-bounds read in HTTP client no_proxy handling
Issue summary: An application using the OpenSSL HTTP client API functions may trigger an out-of-bounds read if the 'noproxy' environment variable is set and the host portion of the authority component of the HTTP URL is an IPv6 address.
Impact summary: An out-of-bounds read can trigger a crash which leads to Denial of Service for an application.
The OpenSSL HTTP client API functions can be used directly by applications but they are also used by the OCSP client functions and CMP (Certificate Management Protocol) client implementation in OpenSSL. However the URLs used by these implementations are unlikely to be controlled by an attacker.
In this vulnerable code the out of bounds read can only trigger a crash. Furthermore the vulnerability requires an attacker-controlled URL to be passed from an application to the OpenSSL function and the user has to have a 'noproxy' environment variable set. For the aforementioned reasons the issue was assessed as Low severity.
The vulnerable code was introduced in the following patch releases: 3.0.16, 3.1.8, 3.2.4, 3.3.3, 3.4.0 and 3.5.0.
The FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue, as the HTTP client implementation is outside the OpenSSL FIPS module boundary.
Other sources
Issue summary: An application using the OpenSSL HTTP client API functions may trigger an out-of-bounds read if the "noproxy" environment variable is set and the host portion of the authority component of the HTTP URL is an IPv6 address.
Impact summary: An out-of-bounds read can trigger a crash which leads to Denial of Service for an application.
The OpenSSL HTTP client API functions can be used directly by applications but they are also used by the OCSP client functions and CMP (Certificate Management Protocol) client implementation in OpenSSL. However the URLs used by these implementations are unlikely to be controlled by an attacker.
In this vulnerable code the out of bounds read can only trigger a crash. Furthermore the vulnerability requires an attacker-controlled URL to be passed from an application to the OpenSSL function and the user has to have a "noproxy" environment variable set. For the aforementioned reasons the issue was assessed as Low severity.
The FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue, as the HTTP client implementation is outside the OpenSSL FIPS module boundary.
OpenSSL 3.5, 3.4, 3.3, 3.2 and 3.0 are vulnerable to this issue.
OpenSSL 1.1.1 and 1.0.2 are not affected by this issue.
— Red Hat
Out-of-bounds read in HTTP client noproxy handling
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 3.0.17-1~deb12u3 - Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 3.5.1-1+deb13u1 - Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 3.5.4-1 - Upgrade
Upgrade
alpine/opensslto a version that resolves this vulnerability.Fixed in 3.0.19-r0 - Upgrade
Upgrade
alpine/opensslto a version that resolves this vulnerability.Fixed in 3.1.8-r1 - Upgrade
Upgrade
alpine/opensslto a version that resolves this vulnerability.Fixed in 3.3.5-r0 - Upgrade
Upgrade
alpine/opensslto a version that resolves this vulnerability.Fixed in 3.5.4-r0 - Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 3.0.17-1~deb12u3Fixed in 3.5.1-1+deb13u1Fixed in 3.5.4-1 - Upgrade
Upgrade
ubuntu/edk2to a version that resolves this vulnerability.Fixed in 2025.02-8ubuntu3 - Upgrade
Upgrade
ubuntu/opensslto a version that resolves this vulnerability.Fixed in 3.5.3-1ubuntu2 - Configuration
Unset the 'no_proxy' environment variable to avoid the condition required to trigger the out-of-bounds read.
Applications using the OpenSSL HTTP client API no_proxy = unset
Event History
Frequently Asked Questions
What is the severity of CVE-2025-9232?
The severity of CVE-2025-9232 is classified as high due to the potential for out-of-bounds read vulnerabilities.
How do I fix CVE-2025-9232?
To fix CVE-2025-9232, you should update to the latest version of OpenSSL that addresses this vulnerability.
What causes the vulnerability in CVE-2025-9232?
CVE-2025-9232 is caused by an out-of-bounds read triggered when the 'no_proxy' environment variable is set and the HTTP URL host is an IPv6 address.
Which software is affected by CVE-2025-9232?
CVE-2025-9232 affects applications that use the OpenSSL HTTP client API functions.
What impact does CVE-2025-9232 have on affected systems?
CVE-2025-9232 can lead to information disclosure and potentially compromise the system's security.