CVE-2026-118371

LibreSSL through 4.4.0 CRLF Injection via OCSP_sendreq_new() Request Line

Published Oct 28, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
LibreSSL through 4.4.0 contains a CRLF injection vulnerability in the libcrypto OCSP_sendreq_new() and OCSP_parse_url() functions, which write unvalidated request paths into the OCSP POST request line. Attackers can embed carriage return and line feed characters in a certificate's Authority Information Access OCSP URI to inject HTTP headers or split requests sent to responders and proxies.

Analysis

AI-generated

Technical impact

The flaw lies in the OCSP_sendreq_new and OCSP_parse_url functions, which write the request path directly into the OCSP POST line without stripping CR or LF characters. An attacker can craft a certificate whose AIA OCSP URI contains injected CRLF sequences, causing the resulting OCSP request to carry arbitrary HTTP headers or even split into multiple requests. The injected headers could redirect a responder or proxy, lead to information disclosure, or facilitate further attacks depending on the responder’s behavior.

Affected Systems

OpenBSD LibreSSL versions up to 4.4.0 are impacted. The vulnerability appears in the libcrypto OCSP implementation packaged with LibreSSL 4.4.0 and earlier releases.

Risk and Exploitability

The vulnerability has a CVSS score of 6.3 and is not listed in the CISA KEV catalog, indicating moderate severity and currently low exploitation probability. The attack vector is likely remote, achieved by delivering a malicious certificate to a system that generates OCSP requests. Successful exploitation requires the target to use an affected LibreSSL version for OCSP queries, a condition that may be common in network services or browsers that rely on LibreSSL as the default TLS library.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update LibreSSL to 4.4.1 or later to remove the CRLF injection logic
  • If an update is unavailable, configure applications to strip CRLF characters from OCSP URIs before passing them to OCSP_sendreq_new
  • Implement network controls to block unexpected OCSP responses or restrict outbound OCSP queries to trusted servers

Generated by OpenCVE AI on October 28, 2026 at 03:26 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 through 4.4.0 contains a CRLF injection vulnerability in the libcrypto OCSP_sendreq_new() and OCSP_parse_url() functions, which write unvalidated request paths into the OCSP POST request line. Attackers can embed carriage return and line feed characters in a certificate's Authority Information Access OCSP URI to inject HTTP headers or split requests sent to responders and proxies.
Title LibreSSL through 4.4.0 CRLF Injection via OCSP_sendreq_new() Request Line
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
Nov 3, 2026, 12:41 PM
Reserved
Oct 28, 2026, 1:19 AM
Status
Deferred
Published
Oct 28, 2026, 3:17 AM
Modified
Nov 3, 2026, 1:17 PM