CVE-2018-16840
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()`
02 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()`
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 3.39% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 88.2% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-10-31 18:00Z7 YR AGO
- Last updated
- 2026-04-16 14:08Z6 MO AGO
- Reserved
- 2018-09-11
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 4.3)
- CNA CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.2
- Document digest
- 8b8a5d157cd79e3ebbc8994451c2493b5bec4ceadc868009e7c2834e352d3e95
05 Affected products
06 References
- security.gentoo.orgGLSA-201903-03https://security.gentoo.org/glsa/201903-03
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16840
- github.comhttps://github.com/curl/curl/commit/81d135d67155c5295b1033679c606165d4e28f3f
- www.securitytracker.com1042013http://www.securitytracker.com/id/1042013
- curl.haxx.sehttps://curl.haxx.se/docs/CVE-2018-16840.html
- usn.ubuntu.comUSN-3805-1https://usn.ubuntu.com/3805-1/
07 Fixed in
Arch Linux
- curl Fixed in 7.62.0-1
- lib32-curl Fixed in 7.62.0-1
- lib32-libcurl-compat Fixed in 7.62.0-1
- lib32-libcurl-gnutls Fixed in 7.62.0-1
- libcurl-compat Fixed in 7.62.0-1
- libcurl-gnutls Fixed in 7.62.0-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- curl Fixed in 7.62.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- curl Fixed in 7.62.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- curl Fixed in 7.62.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.