REDHAT-BUG-2550708: Low severity curl libcurl vulnerability

Published Oct 13, 2026
·
Updated

curlmimefree stack overflow by recursion ==========================================

Project curl Security Advisory, October 14 2026 Permalink

VULNERABILITY -------------

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.

INFO ----

Normal mime setups typically contain a few parts up to extreme cases of hundreds. This flaw needs thousands to trigger, the exact amount depending on your system and configuration.

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2026-92391 to this issue.

CWE-674: Uncontrolled Recursion

Severity: Low

AFFECTED VERSIONS -----------------

- Affected versions: curl 7.56.0 to and including 8.22.0 - Not affected versions: curl < 7.56.0 and >= 8.23.0 - Introduced-in: https://github.com/curl/curl/commit/ce0881edee3c78609eae49

libcurl is used by many applications, but not always advertised as such!

This flaw does not affect the curl command line tool.

SOLUTION --------

- Fixed-in: https://github.com/curl/curl/commit/d7546809d5bd548b69ec49fca2

RECOMMENDATIONS ---------------

A - Upgrade curl to version 8.23.0

B - Apply the patch to your local version

C - Avoid the MIME API

TIMELINE --------

This issue was reported to the curl project on September 12, 2026.

curl 8.23.0 was released on October 14, 2026, coordinated with the publication of this advisory.

CREDITS -------

- Reported-by: Joshua Rogers (Aisle Research) - Patched-by: Daniel Stenberg

Thanks a lot!

Affected Software

1 affected component
curl libcurl>=7.56.0<=8.22.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade curl to a version that resolves this vulnerability.

    Fixed in 8.23.0
  2. Compensating control

    Avoid using the MIME API.

Event History

Oct 13, 2026
Data Sourced
via Red Hat·05:27 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using affected libcurl versions from 7.56.0 through 8.22.0 are exposed if they construct deeply nested multipart MIME structures through the public API. The curl command-line tool is not affected.

2

What must an attacker or triggering input do to cause an impact?

The vulnerable application must create a multipart MIME structure nested thousands of levels deep. When libcurl performs normal cleanup, curl_mime_free recursively traverses that structure until the process stack is exhausted and the host process crashes.

3

Is this likely to affect ordinary MIME usage?

No. Typical MIME setups use only a few parts, and even extreme cases generally use hundreds; triggering the flaw requires thousands of nesting levels, with the exact threshold depending on the system and configuration.

4

How can I determine whether a system is affected?

Identify applications that link against or bundle libcurl, including ones that do not visibly advertise its use, and check their libcurl version. Versions 7.56.0 through 8.22.0 are affected; versions earlier than 7.56.0 and 8.23.0 or later are not affected.

5

What should be done if an affected version is in use?

Update libcurl to version 8.23.0 or later. Until updating is possible, prevent creation of excessively deep multipart MIME nesting through the libcurl public API.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203