CVE-2018-16840
CVE-2018-16840 Vulnerability Analysis & Exploit Intelligence
A heap use-after-free flaw was found in curl versions from 7.59.0 through 7.61.1 in the code related to closing an easy handle. When closing and cleaning up an 'easy' handle in the `Curl_close()` function, the library code first frees a struct (without nulling the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.
Published Updated Sources: cvelistV5, redhat
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
3%
chance of exploitation in 30 days
CVSS base
4.3
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 4.3 | CVSS 3.0 | MEDIUM | — | — | cvelistV5 |
Weakness & attack patterns
- CWE-416
References
6 on the record
- security.gentoo.org/glsa/201903-03
vendor-advisory, x_refsource_GENTOO
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16840
x_refsource_CONFIRM
- github.com/curl/curl/commit/81d135d67155c5295b1033679c606165d4e28f3f
x_refsource_CONFIRM
- www.securitytracker.com/id/1042013
vdb-entry, x_refsource_SECTRACK
- curl.haxx.se/docs/CVE-2018-16840.html
x_refsource_MISC
- usn.ubuntu.com/3805-1/
vendor-advisory, x_refsource_UBUNTU
Elsewhere on this site
- the curl projectevery CVE for this vendor
- CWE-416other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.