cve.bz

CVE-2018-1000005 Out-of-bounds Read

9.1 criticalEPSS 4.6%Fix available

Critical (9.1). EPSS 4.6% estimated probability of exploitation activity in the next 30 days.

On this page
libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers. It was reported (https://github.com/curl/curl/pull/2231) that reading an HTTP/2 trailer could mess up future trailers since the stored size was one byte less than required. The problem is that the code that creates HTTP/1-like headers from the HTTP/2 trailer data once appended a string like `:` to the target buffer, while this was recently changed to `: ` (a space was added after the colon) but the following math wasn't updated correspondingly. When accessed, the data is read out of bounds and causes either a crash or that the (too large) data gets passed to client write. This could lead to a denial-of-service situation or an information disclosure if someone has a service that echoes back or uses the trailers for something.

Severity

CVSS 3.0

9.1 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
4.6% (unchanged from 4.6% a week ago; 4.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1000005 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1000005?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1000005?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1000005 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haxx:libcurlfrom 7.49.0 through 7.57.0
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14curl7.58.0-1DEBIAN-CVE-2018-1000005
Ubuntu14.04:LTScurl7.35.0-1ubuntu2.14USN-3554-1
Ubuntu16.04:LTScurl7.47.0-1ubuntu2.6UBUNTU-CVE-2018-1000005 USN-3554-1
openSUSETumbleweedcurl7.79.1-1.1openSUSE-SU-2024:10582-1
Alpinev3.4, v3.5, v3.6 and 1 morecurl7.58.0-r0ALPINE-CVE-2018-1000005

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This flaw was introduced in curl-7.49.0. Therefore the versions of curl shipped with Red Hat Enterprise Linux 5, 6 and 7 and Red Hat Ceph Storage 2 are not affected by this flaw.

ProductPackageStateAdvisory
JBoss Core Services Apache HTTP Server 2.4.29 SP2jbcs-httpd24-curlFixed 2019-06-18RHSA-2019:1543
.NET Core 1.0 on Red Hat Enterprise Linuxrh-dotnetcore10-curlNot affected
.NET Core 1.1 on Red Hat Enterprise Linuxrh-dotnetcore11-curlNot affected
.NET Core 2.0 on Red Hat Enterprise Linuxrh-dotnet20-curlNot affected
Red Hat Ceph Storage 2curlNot affected
Red Hat Enterprise Linux 5curlNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Linux 8curlNot affected
Red Hat Software Collectionshttpd24-curlNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1000005.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-19-155-01PHOENIX CONTACT PLCNext AXC F 21522019-06-04Commercial FacilitiesAXC F 2152: article number 2404267 version 1.x, AXC F 2152: article number 1046568 (Starterkit) version 1.xnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON