REDHAT-BUG-2529206: Use After Free

Published Sep 6, 2026
·
Updated

When performing transfers via libcurl’s multi interface, pooled TLS connections can outlive their originating easy handles. In OpenSSL 3 provider configurations, libcurl attaches an allocated library context to the easy handle's state and passes it to OpenSSL without acquiring an ownership reference; destroying the easy handle prematurely frees this context while the active connection retains a dangling pointer, leading to a heap-use-after-free upon subsequent I/O or post-handshake operations.

Affected Software

1 affected component
curl libcurl

Event History

Sep 6, 2026
Data Sourced
via Red Hat·06:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using libcurl's multi interface with pooled TLS connections are exposed when using an OpenSSL 3 provider configuration. The issue depends on a TLS connection surviving after the easy handle that created it is destroyed.

2

What sequence is required to trigger the use-after-free?

An application must destroy an originating easy handle while its pooled TLS connection remains active. Subsequent I/O or post-handshake operations on that connection can then access the freed OpenSSL library context.

3

Are applications using libcurl's multi interface affected by default?

The available information identifies OpenSSL 3 provider configurations as a condition for exposure. It does not establish whether this configuration is enabled by default in a particular curl, libcurl, or operating-system build.

4

How can I assess whether an application is affected?

Review whether the application uses libcurl multi transfers and connection pooling, destroys easy handles before associated TLS connections are no longer reusable, and runs with an OpenSSL 3 provider configuration. Affected behavior may manifest during later connection I/O or post-handshake processing.

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