{"id":"CVE-2026-118372","summary":"LibreSSL ocspcheck through 4.4.0 CRLF Injection via AIA OCSP URL Path","details":"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.","modified":"2026-11-09T13:02:47.179702862Z","published":"2026-10-28T02:03:20.849Z","database_specific":{"cwe_ids":["CWE-93"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118372.json","cna_assigner":"VulnCheck"},"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-118372.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118372"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libressl-ocspcheck-through-4.4.0-crlf-injection-via-aia-ocsp-url-path"},{"type":"FIX","url":"https://github.com/openbsd/src/commit/3adb7688a5bcfb675fa6d8b10e242022d620a23d"},{"type":"FIX","url":"https://github.com/openbsd/src/commit/6efdc4cce3fac9fa7208a9452f84de34c5a68e9f"},{"type":"PACKAGE","url":"https://github.com/libressl/portable"},{"type":"ARTICLE","url":"https://github.com/openbsd/src/blob/17a8e44328ee2505d69723a126a390a526e50370/usr.sbin/ocspcheck/http.c#L344"},{"type":"ARTICLE","url":"https://github.com/openbsd/src/blob/17a8e44328ee2505d69723a126a390a526e50370/usr.sbin/ocspcheck/ocspcheck.c#L154"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libressl/portable","events":[{"introduced":"0"},{"last_affected":"05a68abffedd17c376759181ea40f807219251c9"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"4.4.0"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"0"},{"last_affected":"4.4.0"}],"source":"DESCRIPTION"}]}},{"type":"GIT","repo":"https://github.com/openbsd/src","events":[{"introduced":"0"},{"fixed":"3adb7688a5bcfb675fa6d8b10e242022d620a23d"},{"fixed":"6efdc4cce3fac9fa7208a9452f84de34c5a68e9f"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"3adb7688a5bcfb675fa6d8b10e242022d620a23d"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"6efdc4cce3fac9fa7208a9452f84de34c5a68e9f"}]}]}}],"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":{"vanir_signatures_modified":"2026-11-09T13:02:47Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118372.json","vanir_signatures":[{"id":"CVE-2026-118372-5de98055","signature_type":"Line","signature_version":"v1","source":"https://github.com/openbsd/src/commit/6efdc4cce3fac9fa7208a9452f84de34c5a68e9f","target":{"file":"usr.sbin/ocspcheck/ocspcheck.c"},"deprecated":false,"digest":{"line_hashes":["272676661610948752603905641073703148111","128388020768647802663182700999976316602","151447106422516031124123949794107177022","335913616112138741533501710299682814504","319736436561218267221286321971825347051","42802716832750666958815053224045192092","242150098446851404456069838387049641449","243895424868581465807859392904184289017","64474622364517328579585862948474478944","252332220645343499592059846961271773375","337814488868887407220532096973656325918","294416900077281659283075809308323257767","75853762597013939803606156627704399742","23602036754128498125024983490080284052","278715168369084572316895510335282338676"],"threshold":0.9}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/openbsd/src/commit/3adb7688a5bcfb675fa6d8b10e242022d620a23d","target":{"file":"usr.sbin/ocspcheck/ocspcheck.c","function":"ocsp_request_new_from_cert"},"deprecated":false,"digest":{"function_hash":"310358044674592481104859428163941767595","length":2291},"id":"CVE-2026-118372-8a4871b2"},{"target":{"file":"usr.sbin/ocspcheck/ocspcheck.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["272676661610948752603905641073703148111","278313144284255770118527322353416036432","249569313305975796625305255366184673116","337037935515299487571599963538759222952","209815248697004789220817708913101584","37580815232686254148462100851670171587","63207756628663384415396037172199735243","213474614989994147478140216529433163509","238412252612359278142086061647715027726","118220568980330822182951216336624249502","228937491755835200267416692180140112209","178593545176920713519650624480884302892","321403171228641987036545329910168292669"]},"id":"CVE-2026-118372-d04238f3","signature_type":"Line","signature_version":"v1","source":"https://github.com/openbsd/src/commit/3adb7688a5bcfb675fa6d8b10e242022d620a23d"},{"id":"CVE-2026-118372-eb462e13","signature_type":"Function","signature_version":"v1","source":"https://github.com/openbsd/src/commit/6efdc4cce3fac9fa7208a9452f84de34c5a68e9f","target":{"file":"usr.sbin/ocspcheck/ocspcheck.c","function":"ocsp_request_new_from_cert"},"deprecated":false,"digest":{"function_hash":"137339282021885443750097350289093723140","length":2163}}]}}],"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"}]}