CVE-2018-16840

high
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
8.0

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-16840

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-16840.html

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201811-4

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201811-9

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201811-8

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201811-7

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201811-6

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201811-5

OS impact

OSVersionStatusFixed in
arch archfixed7.62.0-1
suse slesaffected
debian debianbookwormfixed7.62.0-1
debian debianbullseyefixed7.62.0-1
debian debianforkyfixed7.62.0-1
debian debiansidfixed7.62.0-1
debian debiantrixiefixed7.62.0-1

References

Verify integrity in audit chain (admin only). AS-IS.