CURL-CVE-2026-9546: sending old referer

Published Jul 3, 2026
·
Updated

A vulnerability in libcurl caused the HTTP Referer: header to persist even when explicitly cleared. While the documentation states that passing NULL to CURLOPTREFERER suppresses the header, the option failed to clear the internal state. As a result, the previous referrer string was erroneously reused and sent in subsequent requests, potentially leaking sensitive information to unintended servers.

Affected Software

1 affected component
curl libcurl

Event History

Jul 3, 2026
CVE Published
via OSV·06:18 AM
Data Sourced
via OSV·06:18 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using libcurl are exposed when they reuse a transfer handle after setting a Referer value and then attempt to suppress it by passing NULL to CURLOPT_REFERER. Subsequent requests may send the earlier referrer to unintended servers.

2

What does an attacker need to exploit the issue?

An attacker needs to receive a subsequent HTTP request from an affected application after that application has previously set a sensitive Referer value and tried to clear it. No authentication or user interaction is required according to the supplied severity vector.

3

How can I tell whether an application may be affected?

Review libcurl usage for transfer handles on which CURLOPT_REFERER is first set to a value and later set to NULL before reuse. Capture or log outgoing HTTP headers on the subsequent request to determine whether the prior Referer value is still transmitted.

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