{"id":"CVE-2026-118371","summary":"LibreSSL through 4.4.0 CRLF Injection via OCSP_sendreq_new() Request Line","details":"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.","modified":"2026-11-09T13:13:32.233630183Z","published":"2026-10-28T02:03:20.152Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-93"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118371.json"},"references":[{"type":"ADVISORY","url":"https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.4.0-relnotes.txt"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118371.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118371"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libressl-through-4.4.0-crlf-injection-via-ocsp-sendreq-new-request-line"},{"type":"FIX","url":"https://github.com/openbsd/src/commit/d3f7195f4849d8a699cea4a3a67677f4b3dc1591"},{"type":"PACKAGE","url":"https://github.com/libressl/portable"},{"type":"ARTICLE","url":"https://github.com/openbsd/src/blob/3903c41d301d66facec69f7bf776b182cbc5ed62/lib/libcrypto/ocsp/ocsp_ht.c#L184"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libressl/portable","events":[{"introduced":"0"},{"last_affected":"05a68abffedd17c376759181ea40f807219251c9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"4.4.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"0"},{"last_affected":"4.4.0"}],"source":"DESCRIPTION"}]}},{"type":"GIT","repo":"https://github.com/openbsd/src","events":[{"introduced":"0"},{"fixed":"d3f7195f4849d8a699cea4a3a67677f4b3dc1591"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"d3f7195f4849d8a699cea4a3a67677f4b3dc1591"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v4.4.0","v4.4.0rc1","v4.3.1","v4.3.0","v3.9.0","v3.8.1","v3.8.0","v3.7.1","v3.7.0","v3.5.1","v3.5.0","v3.4.0","v3.3.2","v3.3.1","v3.3.0","v3.2.1","v3.2.0","v3.1.0","v3.0.1","v3.0.0","v2.9.0","v2.8.1","v2.8.0","v2.7.1","v2.7.0","v2.6.2","v2.6.1","v2.6.0","v2.5.2","v2.5.1","v2.5.0","v2.4.1","v2.4.0","v2.3.2","v2.3.1","v2.3.0","v2.2.2","v2.2.1","v2.2.0","v2.1.4","v2.1.3","v2.1.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118371.json","vanir_signatures":[{"target":{"file":"lib/libcrypto/ocsp/ocsp_local.h"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["152841741513294881123165826351054504179","27217062692440524166442828047677421680","70682431852738299290411697876971882495"]},"id":"CVE-2026-118371-589c398e","signature_type":"Line","signature_version":"v1","source":"https://github.com/openbsd/src/commit/d3f7195f4849d8a699cea4a3a67677f4b3dc1591"},{"deprecated":false,"digest":{"length":895,"function_hash":"141471655432211179695172799269893231871"},"id":"CVE-2026-118371-721397a1","signature_type":"Function","signature_version":"v1","source":"https://github.com/openbsd/src/commit/d3f7195f4849d8a699cea4a3a67677f4b3dc1591","target":{"file":"lib/libcrypto/ocsp/ocsp_ht.c","function":"OCSP_sendreq_new"}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/openbsd/src/commit/d3f7195f4849d8a699cea4a3a67677f4b3dc1591","target":{"file":"lib/libcrypto/ocsp/ocsp_ht.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["194290025201916889332674302628534616446","216821507997656994621147368510244916840","60289328756494308377164957109742626011","76001389861106582569000778615854438962","97718813969928542813953798839801019293","119256989426936024753131382702574193863","191986754197665429007387884476355109559","254398499233823681371579040987764017596","128324692025664872791705945878256723279","132432751548776731683670755859850151276","29288059027126540990738612555835139134","299072710560263162489685746922171611993","330368750528410627466988393288254459376"]},"id":"CVE-2026-118371-94a15278"},{"digest":{"line_hashes":["28442487188176911270945710122591988268","334257490017574229908153815379518874153","53143061188414638999651864201956501264","194522739331542328559666289358723481847","80940774351594848834787050192026344589","249695830610882859229599682752924233981","306797074573796173571748058572108677689"],"threshold":0.9},"id":"CVE-2026-118371-999248dc","signature_type":"Line","signature_version":"v1","source":"https://github.com/openbsd/src/commit/d3f7195f4849d8a699cea4a3a67677f4b3dc1591","target":{"file":"lib/libcrypto/ocsp/ocsp_lib.c"},"deprecated":false},{"signature_version":"v1","source":"https://github.com/openbsd/src/commit/d3f7195f4849d8a699cea4a3a67677f4b3dc1591","target":{"function":"OCSP_parse_url","file":"lib/libcrypto/ocsp/ocsp_lib.c"},"deprecated":false,"digest":{"length":1012,"function_hash":"285224633803607025568801416496156649163"},"id":"CVE-2026-118371-ccafa873","signature_type":"Function"}],"vanir_signatures_modified":"2026-11-09T13:13:32Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}