Skip to content
Fencer Intel
medium 4.4

CVE-2018-16842 json

Curl versions 7.14.1 through 7.61.1 are vulnerable to a heap-based buffer over-read in the tool_msgs.c:voutf() function that may result in…

published 8y ago modified 4mo ago also EUVD-2018-8638

cvss
4.4
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

Curl versions 7.14.1 through 7.61.1 are vulnerable to a heap-based buffer over-read in the tool_msgs.c:voutf() function that may result in information exposure and denial of service.

Patch / fix

  • curl Debian 14, Debian 13, Debian 12 7.62.0-1

debian advisories DEBIAN-CVE-2018-16842

  • curl Ubuntu 14.04 LTS 7.35.0-1ubuntu2.19
  • curl Ubuntu 16.04 LTS 7.47.0-1ubuntu2.11
  • curl Ubuntu 18.04 LTS 7.58.0-2ubuntu3.5

ubuntu advisories UBUNTU-CVE-2018-16842

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • curl RHEL 7 7.29.0-54.el7
  • libcurl RHEL 7 7.29.0-54.el7

red hat advisories RHSA-2019:2181

  • curl SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 +1 more 7.60.0-4.3.1
  • curl SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 7.37.0-70.38.1
  • curl-openssl1 SLES 11-SECURITY 7.37.0-70.38.1
  • curl SLE Module for Basesystem 15 7.60.0-3.14.3
  • curl SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 7.37.0-37.31.1
  • curl Studio Onsite 1.3 7.19.7-1.20.53.19.1

suse advisories SUSE-SU-2019:0339-1SUSE-SU-2018:3681-1SUSE-SU-2018:3624-1SUSE-SU-2018:3608-1SUSE-SU-2018:3607-1

  • curl openSUSE Tumbleweed 7.79.1-1.1

opensuse advisories openSUSE-SU-2024:10582-1

  • curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 7.62.0-r0
  • curl Alpine 3.8, Alpine 3.7, Alpine 3.6 +1 more 7.61.1-r1

alpine advisories ALPINE-CVE-2018-16842

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • curl Arch Linux 7.62.0-1

arch linux advisories AVG-795

Is CVE-2018-16842 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-16842 updated cvss 3.6

curl: Heap-based buffer over-read in the curl tool warning formatting

  • Red Hat .NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Red Hat .NET Core 1.1 on Red Hat Enterprise Linux rh-dotnetcore11-curl Red Hat .NET Core 2.1 on Red Hat Enterprise Linux rh-dotnet21-curl, rh-dotnet21-libcurl
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurl
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Core Services jbcs-httpd24-curl jbcs-httpd24-curl
    affected: no fix available
  • Red Hat Software Collections httpd24-curl, httpd24-libcurl
    affected: no fix available “Fix deferred”
  • Red Hat JBoss Core Services Apache HTTP Server 2.4.29 SP2
    fixed: vendor fix RHSA-2019:1543
  • Red Hat Ansible Tower 3.4 for RHEL 7 Server ansible-tower-34/ansible-tower-memcached 1.4.15-28, ansible-tower-35/ansible-tower-memcached 1.4.15-28, ansible-tower-37/ansible-tower-memcached-rhel7 1.4.15-28
    fixed: vendor fix RHBA-2020:0547
  • Red Hat Enterprise Linux Client (v. 7) curl 7.29.0-54.el7, libcurl 7.29.0-54.el7 Red Hat Enterprise Linux Client Optional (v. 7) libcurl-devel 7.29.0-54.el7, curl-debuginfo 7.29.0-54.el7 Red Hat Enterprise Linux ComputeNode (v. 7) curl 7.29.0-54.el7, libcurl 7.29.0-54.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libcurl-devel 7.29.0-54.el7, curl-debuginfo 7.29.0-54.el7 Red Hat Enterprise Linux Server (v. 7) curl 7.29.0-54.el7, libcurl 7.29.0-54.el7 Red Hat Enterprise Linux Workstation (v. 7) curl 7.29.0-54.el7, libcurl 7.29.0-54.el7
    fixed: vendor fix RHSA-2019:2181
  • Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimal Red Hat JBoss Web Server 5 curl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
6mo ago

Exploit prediction

2.10% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.0 4.4 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
NVD 3.0 9.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:P/I:N/A:P

Affected products

  • The Curl Project curl:

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.