cvedb.io
CVE-2018-16840
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2018-10-31T18:29:00.307 · Last modified 2026-06-17T01:44:52.920

Summary

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.

Affected products

haxx — curl

Does this affect you?

Add your gear to cvedb and we'll alert you only when haxx ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.