JLSEC-2026-1665: A deeply nested multipart MIME structure constructed via the public API causes a stack overflow...
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 curlmimefree leads to unbounded stack frame allocation during structure traversal, ultimately crashing the host process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/LibCURL_jllto a version that resolves this vulnerability.Fixed in 8.23.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What does an attacker need to do to trigger the crash?
They need to cause the affected application to construct a deeply nested multipart MIME structure through the public API. The crash occurs when libcurl later performs normal cleanup and traverses that structure.
Is authentication or user interaction required?
No. The supplied severity vector indicates network attack access with low complexity, no privileges required, and no user interaction.
What is the practical impact?
The host process can crash because curl_mime_free recursively traverses the nested MIME structure until stack space is exhausted. The supplied impact vector identifies availability impact only, with no stated confidentiality or integrity impact.