9.8

CVE-2018-16840: canonical ubuntu_linux Use After Free

Analyzed
AliasesALPINE-CVE-2018-16840UBUNTU-CVE-2018-16840DEBIAN-CVE-2018-16840
Published 31-10-2018Last modified 16-04-2026

Vulnerability summary

CVE-2018-16840 is a critical (CVSS 9.8) Use After Free vulnerability in canonical ubuntu_linux. EPSS estimates a 3.40% chance of exploitation in the next 30 days, higher than 88.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
3.40%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 31-10-2018
    PublishedVulnerability first disclosed.
  2. 16-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 5 sources · 3 versions

EPSS trend

Probability

3.40%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.40% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • curl≥ 7.59.0, < 7.62.0-r0 | ≥ 7.59.0, < 7.61.1-r1
Canonical1 product
Debian1 product
  • curl< 7.62.0-1
Haxx1 product
  • curl≥ 7.59.0, < 7.62.0
The curl project1 product
  • curlfrom 7.59.0 to 7.61.1
Ubuntu1 product
  • curl< 7.58.0-2ubuntu3.3

6 vendors · 6 products

References

11 links
Show all 11 references