cve.bz

CVE-2017-1000257

9.1 criticalEPSS 6.2%

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

On this page
An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that (non-existing) data with a pointer and the size (zero) to the deliver-data function. libcurl's deliver-data function treats zero as a magic number and invokes strlen() on the data to figure out the length. The strlen() is called on a heap based buffer that might not be zero terminated so libcurl might read beyond the end of it into whatever memory lies after (or just crash) and then deliver that to the application as if it was actually downloaded.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
6.2% (unchanged from 6.2% a week ago; 6.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
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-2017-1000257 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-1000257?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-1000257?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-2017-1000257 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.20.0 through 7.56.0
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7curl7.26.0-1+wheezy22DLA-1143-1
Debian8curl7.38.0-4+deb8u7DSA-4007-1
Debian9curl7.52.1-5+deb9u2DSA-4007-1
Debian12, 13, 14curl7.56.1-1DEBIAN-CVE-2017-1000257
Ubuntu14.04:LTScurl7.35.0-1ubuntu2.12UBUNTU-CVE-2017-1000257 USN-3457-1
Ubuntu16.04:LTScurl7.47.0-1ubuntu2.4UBUNTU-CVE-2017-1000257 USN-3457-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morecurl, libcurl, libcurl-devel and 1 more0:7.29.0-42.el7_4.1RHSA-2017:3263
Red Hatrhel_software_collections:3::el6httpd24-curl, httpd24-libcurl, httpd24-libcurl-devel and 1 more0:7.61.1-1.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-httpd, httpd24-mod_ldap, httpd24-httpd-devel and 4 more0:2.4.34-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-mod_ssl, httpd24-mod_proxy_html1:2.4.34-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-nghttp2, httpd24-libnghttp2, httpd24-libnghttp2-devel and 1 more0:1.7.1-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-curl, httpd24-libcurl, httpd24-libcurl-devel and 1 more0:7.61.1-1.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-httpd, httpd24-mod_md, httpd24-mod_ldap and 5 more0:2.4.34-7.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-mod_ssl, httpd24-mod_proxy_html1:2.4.34-7.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-nghttp2, httpd24-libnghttp2, httpd24-libnghttp2-devel and 1 more0:1.7.1-7.el7RHSA-2018:3558
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP2 and 6 morecurl7.37.0-37.8.1SUSE-SU-2017:2831-1
openSUSETumbleweedcurl7.79.1-1.1openSUSE-SU-2024:10582-1
Alpinev3.3, v3.4curl7.55.0-r2ALPINE-CVE-2017-1000257
Alpinev3.5, v3.6, v3.7 and 17 morecurl7.56.1-r0ALPINE-CVE-2017-1000257

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 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 · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Switch off IMAP in `CURLOPT_PROTOCOLS`

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7curl-0:7.29.0-42.el7_4.1Fixed 2017-11-27RHSA-2017:3263
Red Hat JBoss Core Services 1jbcs-httpd24-curlFixed 2018-08-16RHSA-2018:2486
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-curl-0:7.61.1-1.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-httpd-0:2.4.34-7.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-nghttp2-0:1.7.1-7.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-httpd-0:2.4.34-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-nghttp2-0:1.7.1-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUShttpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUShttpd24-httpd-0:2.4.34-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUShttpd24-nghttp2-0:1.7.1-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUShttpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
.NET Core 1.0 on Red Hat Enterprise Linuxrh-dotnetcore10-curlOut of support scope
.NET Core 1.1 on Red Hat Enterprise Linuxrh-dotnetcore11-curlOut of support scope
.NET Core 2.0 on Red Hat Enterprise Linuxrh-dotnet20-curlOut of support scope
.NET Core 2.1 on Red Hat Enterprise Linuxrh-dotnet21-curlWill not fix
Red Hat Enterprise Linux 5curlNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Virtualization 3mingw-virt-viewerNot affected
Red Hat JBoss Web Server 3curlNot affected
5 more in the JSON and on Red Hat's page.

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-2017-1000257.

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)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON