CVE-2026-92391

curl_mime_free stack overflow by recursion

Published Oct 20, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A deeply nested multipart MIME structure constructed via the public API causes
a stack overflow in libcurl during normal cleanup operations. An excessive
recursion depth within `curl_mime_free` leads to unbounded stack frame
allocation during structure traversal, ultimately crashing the host process.

Analysis

AI-generated

Technical impact

The vulnerability is a stack overflow in libcurl caused by excessive recursion during cleanup of a deeply nested multipart MIME structure. Constructing such a structure via the public API triggers unbounded stack frame allocation while `curl_mime_free` traverses the MIME hierarchy, ultimately crashing the host process. This weakness is identified as CWE‑674, representing uncontrolled recursion.

Affected Systems

The vulnerability affects any software that links against the libcurl library, the product provided by the curl vendor. Applications that process deeply nested multipart MIME content via libcurl are potentially impacted.

Risk and Exploitability

The CVSS score of 7.5 indicates a high overall severity for the flaw, and the EPSS score of 0.00358 (<1%) shows a very low exploitation probability. The flaw is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is network‑based delivery of malicious MIME data to a target application that utilizes libcurl for cleanup. Attack prerequisites would include the ability to send a specially crafted MIME payload to the vulnerable application. The high CVSS score reflects the impact as a denial of service rather than data exposure or privilege escalation. The lack of a KEV listing suggests there are no widely reported exploitation incidents at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libcurl to the latest version that contains the fix for the recursion issue.
  • If an upgrade is not possible, implement input validation to limit MIME nesting depth or reject excessively deep MIME trees before passing them to libcurl.
  • Configure or patch the application to disable MIME processing when it is not required, reducing the attack surface for this flaw.

Generated by OpenCVE AI on October 30, 2026 at 20:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8927-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8932-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8927-2 curl vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

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

Type Values Removed Values Added
Description A flaw was found in curl. An attacker could supply deeply nested Multipurpose Internet Mail Extensions (MIME) structures to an application utilizing the libcurl library. During memory cleanup in the curl_mime_free function, excessive recursive calls exhaust available stack memory, leading to an application crash and a Denial of Service (DoS). A deeply nested multipart MIME structure constructed via the public API causes a stack overflow in libcurl during normal cleanup operations. An excessive recursion depth within `curl_mime_free` leads to unbounded stack frame allocation during structure traversal, ultimately crashing the host process.
Title curl: curl: curl_mime_free stack overflow by recursion curl_mime_free stack overflow by recursion
References
Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Description A flaw was found in curl. An attacker could supply deeply nested Multipurpose Internet Mail Extensions (MIME) structures to an application utilizing the libcurl library. During memory cleanup in the curl_mime_free function, excessive recursive calls exhaust available stack memory, leading to an application crash and a Denial of Service (DoS).
Title curl: curl: curl_mime_free stack overflow by recursion
Weaknesses CWE-674
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Low

Weaknesses

Sources

Status
PUBLISHED
Assigner
curl
Published
Updated
Oct 30, 2026, 4:16 PM
Reserved
Sep 16, 2026, 8:12 AM
Status
Awaiting Analysis
Published
Oct 20, 2026, 9:17 PM
Modified
Oct 30, 2026, 5:17 PM
Severity
Low
Public date
Oct 14, 2026, 12:00 PM