CVE-2018-16840
Summary
| CVE | CVE-2018-16840 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-10-31 18:29:00 UTC |
| Updated | 2019-10-09 23:36:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| cURL: Multiple vulnerabilities (GLSA 201903-03) — Gentoo security |
GENTOO |
security.gentoo.org |
Third Party Advisory |
| curl Use-After-Free Memory Error in Curl_close() Lets Remote Users Deny Service - SecurityTracker |
SECTRACK |
www.securitytracker.com |
Third Party Advisory, VDB Entry |
| 1642203 – (CVE-2018-16840) CVE-2018-16840 curl: Use-after-free when closing "easy" handle in Curl_close() |
CONFIRM |
bugzilla.redhat.com |
Issue Tracking, Third Party Advisory |
| curl - use-after-free in handle close - CVE-2018-16840 |
MISC |
curl.haxx.se |
Patch, Vendor Advisory |
| USN-3805-1: curl vulnerabilities | Ubuntu security notices |
UBUNTU |
usn.ubuntu.com |
Third Party Advisory |
| Curl_close: clear data->multi_easy on free to avoid use-after-free · curl/curl@81d135d · GitHub |
CONFIRM |
github.com |
Patch, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 500126 Alpine Linux Security Update for curl
- 503781 Alpine Linux Security Update for curl
- 710197 Gentoo Linux cURL Multiple Vulnerabilities (GLSA 201903-03)