Description
A vulnerability in libcurl caused the HTTP `Referer:` header to persist even
when explicitly cleared. While the documentation states that passing NULL to
`CURLOPT_REFERER` 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.
Published: 2026-07-03
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in libcurl, where the HTTP `Referer:` header is not cleared after being explicitly set to NULL via `CURLOPT_REFERER`. Because the internal state is not reset, the previously supplied referer string is incorrectly reused in subsequent requests, potentially leaking sensitive URLs or other internal information to unintended servers. This behavior matches the information exposure weakness classified as CWE‑201.

Affected Systems

Any software that incorporates the libcurl library for HTTP requests may be impacted. The product description only specifies libcurl, meaning that all installations of libcurl that employ the affected code path could be vulnerable until a patch is applied.

Risk and Exploitability

The EPSS score is under 1%, indicating a very low exploitation likelihood, while the CVSS score of 7.5 signals moderate‑to‑high severity. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an attacker setting a Referer, clearing it, and thereby causing the leaked Referer to be sent to an attacker‑controlled or unrelated destination. In environments where the Referer header may contain internal or sensitive details, the risk is elevated.

Generated by OpenCVE AI on July 17, 2026 at 01:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libcurl to the latest available version once a fix is released.
  • Use `curl_easy_reset(handle)` or otherwise reset the libcurl handle to clear the internal state when clearing the Referer header.
  • Alternatively, avoid passing NULL to CURLOPT_REFERER; instead set the Referer header to an empty string or manually delete any custom header that might persist.

Generated by OpenCVE AI on July 17, 2026 at 01:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 08:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Tue, 07 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-201
References
Metrics threat_severity

None

threat_severity

Important


Mon, 06 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Mon, 06 Jul 2026 04:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Sun, 05 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Sun, 05 Jul 2026 01:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-710

Sat, 04 Jul 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-710

Sat, 04 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 03 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 03 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Fri, 03 Jul 2026 06:45:00 +0000

Type Values Removed Values Added
Description A vulnerability in libcurl caused the HTTP `Referer:` header to persist even when explicitly cleared. While the documentation states that passing NULL to `CURLOPT_REFERER` 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.
Title sending old referer
References

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-07-06T16:51:49.410Z

Reserved: 2026-05-26T06:45:18.723Z

Link: CVE-2026-9546

cve-icon Vulnrichment

Updated: 2026-07-06T16:51:43.961Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-03T06:18:14Z

Links: CVE-2026-9546 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-17T01:45:05Z

Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data