Live threats

All CVEs / Haxx

CVE-2018-16840Haxx Curl

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
3.4%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Oct 31, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Curl.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
haxxcurl≥ 7.59.0 < 7.62.0
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux18.10

Official sources

References

Links published by the sources. Open them with care.