curl before version 7.51.0 doesn't parse the authority component of the URL correctly when the host name part ends with a '#' character, and
curl before version 7.51.0 doesn't parse the authority component of the URL correctly when the host name part ends with a '#' character, and could instead be tricked into connecting to a different host. This may have security implications if you for example use an URL parser that follows the RFC to check for allowed domains before using curl to request them.
- Published
- Jul 31, 2018
- Updated
- Jun 16, 2026
- EPSS
- 6.3% · 93th percentile
- CWE
- CWE-20
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
32
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.5
- CNA · redhat
- 5.3
- 2.2 point gap
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| haxx | curl | cpe:2.3:a:haxx:curl |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- haxx curlbefore 7.51.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
The Curl Project curl
- 7.51.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | curl | before 7.51.0-r0 | 7.51.0-r0 |
| Alpine:v3.11 | curl | before 7.51.0 | 7.51.0 |
| Alpine:v3.2 | curl | before 7.49.1-r4 | 7.49.1-r4 |
| Debian:12 | curl | before 7.51.0-1 | 7.51.0-1 |
| Debian:7 | curl | before 7.26.0-1+wheezy17 | 7.26.0-1+wheezy17 |
| Debian:8 | curl | before 7.38.0-4+deb8u5 | 7.38.0-4+deb8u5 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-curl | before 0:7.61.1-1.el6 | 0:7.61.1-1.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-curl-debuginfo | before 0:7.61.1-1.el6 | 0:7.61.1-1.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd | before 0:2.4.34-7.el6 | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd-debuginfo | before 0:2.4.34-7.el6 | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd-devel | before 0:2.4.34-7.el6 | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd-manual | before 0:2.4.34-7.el6 | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd-tools | before 0:2.4.34-7.el6 | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-libcurl | before 0:7.61.1-1.el6 | 0:7.61.1-1.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-libcurl-devel | before 0:7.61.1-1.el6 | 0:7.61.1-1.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-libnghttp2 | before 0:1.7.1-7.el6 | 0:1.7.1-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-libnghttp2-devel | before 0:1.7.1-7.el6 | 0:1.7.1-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-mod_ldap | before 0:2.4.34-7.el6 | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-mod_proxy_html | before 1:2.4.34-7.el6 | 1:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-mod_session | before 0:2.4.34-7.el6 | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-mod_ssl | before 1:2.4.34-7.el6 | 1:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-nghttp2 | before 0:1.7.1-7.el6 | 0:1.7.1-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-nghttp2-debuginfo | before 0:1.7.1-7.el6 | 0:1.7.1-7.el6 |
| Red Hat:rhel_software_collections:3::el7 | httpd24-curl | before 0:7.61.1-1.el7 | 0:7.61.1-1.el7 |
+21
Same product
haxx: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-22901curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session t50Plan
- CVE-2023-38039When curl retrieves an HTTP response, it stores the incoming headers so that
they can be accessed later via the libcurl headers API.47Plan
- CVE-2024-2398HTTP/2 push headers memory-leak45Plan
- CVE-2019-5482Heap buffer overflow in the TFTP protocol handler in cURL 7.19.4 to 7.65.3.44Plan
- CVE-2017-8817The FTP wildcard function in curl and libcurl before 7.57.0 allows remote attackers to cause a denial of service (out-of-bounds read and app42Plan
- CVE-2017-8816The NTLM authentication feature in curl and libcurl before 7.57.0 on 32-bit platforms allows attackers to cause a denial of service (integer42Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:curl | 7.51.0-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:curl | 7.51.0-1 · Debian:12 | Package registry (OSV) |
| red hat:httpd24-curl | 0:7.61.1-1.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-curl-debuginfo | 0:7.61.1-1.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-httpd | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-httpd-debuginfo | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-httpd-devel | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-httpd-manual | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-httpd-tools | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-libcurl | 0:7.61.1-1.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-libcurl-devel | 0:7.61.1-1.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-libnghttp2 | 0:1.7.1-7.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-libnghttp2-devel | 0:1.7.1-7.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-mod_ldap | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| suse:curl | 7.37.0-31.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
| suse:curl-openssl1 | 7.19.7-1.64.1 · SUSE:Linux Enterprise Server 11-SECURITY | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- www.securityfocus.com/bid/94103
- www.securitytracker.com/id/1037192
- access.redhat.com/errata/RHSA-2018:2486
- access.redhat.com/errata/RHSA-2018:3558
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8624
- curl.haxx.se/docs/adv_20161102J.html
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- lists.apache.org/thread.html/rfaa4d578587f52a9c4d176af516a681a712c664e3be440a4163691d5%40%3Ccommits.pulsar.apache.org%3E
- security.gentoo.org/glsa/201701-47
- www.tenable.com/security/tns-2016-21
Vendor advisories and official records. Exploit/PoC links are deliberately left out.