REDHAT-BUG-2394750: Medium severity curl vulnerability

Published Sep 12, 2025
·
Updated

1. A cookie is set using the secure keyword for https://target 2. curl is redirected to or otherwise made to speak with http://target (same hostname, but using clear text HTTP) using the same cookie set 3. The same cookie name is set - but with just a slash as path (path='/'). Since this site is not secure, the cookie should just be ignored. 4. A bug in the path comparison logic makes curl read outside a heap buffer boundary

The bug either causes a crash or it potentially makes the comparison come to the wrong conclusion and lets the clear-text site override the contents of the secure cookie, contrary to expectations and depending on the memory contents immediately following the single-byte allocation that holds the path.

The presumed and correct behavior would be to plainly ignore the second set of the cookie since it was already set as secure on a secure host so overriding it on an insecure host should not be okay.

Affected Software

1 affected component
curl

Event History

Sep 12, 2025
Data Sourced
via Red Hat·06:01 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2394750?

The severity of REDHAT-BUG-2394750 is considered medium due to potential risks associated with cookie security and data leakage.

2

How do I fix REDHAT-BUG-2394750?

To fix REDHAT-BUG-2394750, ensure that cookies are only sent over secure connections and avoid redirecting to HTTP.

3

What impact does REDHAT-BUG-2394750 have on security?

REDHAT-BUG-2394750 can lead to cookie hijacking and unauthorized access due to the improper handling of secure cookies.

4

Is REDHAT-BUG-2394750 a known vulnerability in libcurl?

Yes, REDHAT-BUG-2394750 is a known vulnerability affecting redhat/libcurl and related packages.

5

What versions of redhat/libcurl are affected by REDHAT-BUG-2394750?

All versions of redhat/libcurl that implement the vulnerability are potentially affected by REDHAT-BUG-2394750.

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