CVE-2024-0853 in Haxx Curl
curl inadvertently kept the SSL session ID for connections in its cache even when the verify status (*OCSP stapling*) test failed. A subsequent transfer to the same hostname could then succeed if the session ID cache was still fresh, which then skipped the verify status check.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Haxx | Curl | 8.5.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: 2499f714-1537-4658-8207-48ae4bb9eae9
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
curl inadvertently kept the SSL session ID for connections in its cache even when the verify status (*OCSP stapling*) test failed. A subsequent transfer to the same hostname could then succeed if the session ID cache was still fresh, which then skipped the verify status check.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-0853 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-052362-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Published | 2024-02-03 |
| Last modified | 2025-06-20 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-295: CWE-295
Related attack patterns (CAPEC)
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295
CAPEC-475 Signature Spoofing by Improper Validation via CWE-295
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-0853 affects curl by allowing SSL session IDs to persist in the cache even when OCSP stapling verification fails, potentially leading to man-in-the-middle attacks.
An attacker could exploit this vulnerability by intercepting a connection to a server that uses OCSP stapling. If the OCSP stapling check fails, the SSL session ID is still cached. A subsequent connection to the same server could then be established using the cached session ID, bypassing the failed OCSP stapling check and potentially allowing the attacker to intercept the traffic.
Questions
What is CVE-2024-0853?
CVE-2024-0853 affects curl by allowing SSL session IDs to persist in the cache even when OCSP stapling verification fails, potentially leading to man-in-the-middle attacks.
What is the CVSS score for CVE-2024-0853?
CVE-2024-0853 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 1.2%.
Is CVE-2024-0853 actively exploited?
No confirmed active exploitation of CVE-2024-0853 as of 2026-05-30.
How do I remediate CVE-2024-0853?
Priority: MEDIUM. Advisory: https://curl.se/docs/CVE-2024-0853.html PSIRT: 2499f714-1537-4658-8207-48ae4bb9eae9
What systems are affected by CVE-2024-0853?
CVE-2024-0853 affects Haxx Curl.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Haxx","product":"Curl","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-06-20.