CVE-2026-118372

LibreSSL ocspcheck through 4.4.0 CRLF Injection via AIA OCSP URL Path

Published Oct 28, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
LibreSSL ocspcheck through 4.4.0 contains a CRLF injection vulnerability that allows attackers to inject HTTP headers by embedding CR/LF sequences in a certificate's AIA OCSP URI path. Because url2host() copies the path without rejecting control characters and http_open() places it in the POST request line, attackers can inject headers or split OCSP requests sent to the responder host.

Analysis

AI-generated

Technical impact

LibreSSL ocspcheck versions up to 4.4.0 are vulnerable to CRLF injection that allows an attacker to embed carriage return and line feed sequences in the AIA OCSP URI path of a certificate. This leads to the creation of arbitrary HTTP headers or the splitting of OCSP requests sent to the responder host, potentially enabling header manipulation or request smuggling. The weakness is classified as CWE‑93, a category of CRLF injection vulnerabilities that can alter communication protocols.

Affected Systems

The vulnerability affects OpenBSD LibreSSL releases through 4.4.0, specifically the ocspcheck utility that resolves OCSP URLs. Any installation of LibreSSL in this version range that processes user-supplied certificates is potentially impacted. No specific sub-versions beyond 4.4.0 are listed as affected, so versions newer than 4.4.0 are presumed safe unless otherwise noted by the vendor.

Risk and Exploitability

The CVSS score is 6.3, indicating a moderate severity. EPSS data is not available, and the vulnerability is not listed in CISA's KEV catalog. The likely attack vector is that an attacker can supply or tamper with a certificate that includes a malicious AIA OCSP URI path, which the ocspcheck utility will send in a POST request, enabling the injection of headers. Because the path is parsed without rejecting control characters, the exploit does not require elevated privileges or specialized tooling beyond the ability to influence certificate data. The absence of a public exploit does not preclude local or remote attackers from leveraging this weakness if they can control certificate input or the environment where ocspcheck operates.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest LibreSSL update (4.4.1 or later) to eliminate the CRLF handling flaw
  • Configure your system to avoid using ocspcheck for certificates that can be influenced by attackers, or disable the ocspcheck utility if it is not required in your environment
  • Implement certificate validation that rejects OCSP URLs containing control characters, ensuring that only safe, well‑formed paths are accepted before ocspcheck processes them

Generated by OpenCVE AI on October 28, 2026 at 03:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description LibreSSL ocspcheck through 4.4.0 contains a CRLF injection vulnerability that allows attackers to inject HTTP headers by embedding CR/LF sequences in a certificate's AIA OCSP URI path. Because url2host() copies the path without rejecting control characters and http_open() places it in the POST request line, attackers can inject headers or split OCSP requests sent to the responder host.
Title LibreSSL ocspcheck through 4.4.0 CRLF Injection via AIA OCSP URL Path
First Time appeared Openbsd
Openbsd libressl
Weaknesses CWE-93
CPEs cpe:2.3:a:openbsd:libressl:*:*:*:*:*:*:*:*
Vendors & Products Openbsd
Openbsd libressl
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 28, 2026, 4:11 PM
Reserved
Oct 28, 2026, 1:19 AM
Status
Deferred
Published
Oct 28, 2026, 3:17 AM
Modified
Oct 28, 2026, 5:18 PM