CVE-2017-1000257
published critical CVSS 3.1 · 9.1curl: IMAP FETCH response out of bounds read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1162 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | curl | Fixed | 7.56.1-r0 | Package fix record |
| Debian | jessie | curl | Advisory build | 7.38.0-4+deb8u7 | DSA-4007-1 |
| Oracle Linux | 7 | curlaarch64 | Advisory build | 0:7.29.0-42.el7_4.1 | ELSA-2017-3263 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-curlsrc | Advisory build | 7.61.1-1.el6 | RHSA-2018:3558 |
| Alpine Linux | v3.10 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.11 | curl | Fixed | 7.56.1-r0 | Package fix record |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.12 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.13 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.14 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.15 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.16 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.17 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.18 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.19 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.20 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.21 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.22 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.23 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.24 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.3 | curl | Fixed | 7.55.0-r2 | Package fix record |
| Alpine Linux | v3.4 | curl | Fixed | 7.55.0-r2 | Package fix record |
| Alpine Linux | v3.5 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.6 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.7 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.8 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Alpine Linux | v3.9 | curl | Fixed | 7.56.1-r0 | Package fix record |
| Debian | stretch | curl | Advisory build | 7.52.1-5+deb9u2 | DSA-4007-1 |
| Debian | wheezy | curl | Advisory build | 7.26.0-1+wheezy22 | DLA-1143-1 |
| Oracle Linux | 7 | curlx86_64 | Advisory build | 0:7.29.0-42.el7_4.1 | ELSA-2017-3263 |
| Oracle Linux | 7 | libcurlaarch64 | Advisory build | 0:7.29.0-42.el7_4.1 | ELSA-2017-3263 |
| Oracle Linux | 7 | libcurlx86_64 | Advisory build | 0:7.29.0-42.el7_4.1 | ELSA-2017-3263 |
| Oracle Linux | 7 | libcurl-develaarch64 | Advisory build | 0:7.29.0-42.el7_4.1 | ELSA-2017-3263 |
| Oracle Linux | 7 | libcurl-develx86_64 | Advisory build | 0:7.29.0-42.el7_4.1 | ELSA-2017-3263 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-curlx86_64 | Advisory build | 7.61.1-1.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-curl-debuginfox86_64 | Advisory build | 7.61.1-1.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-httpdsrc | Advisory build | 2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-httpdx86_64 | Advisory build | 2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-httpd-debuginfox86_64 | Advisory build | 2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-httpd-develx86_64 | Advisory build | 2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-httpd-manualnoarch | Advisory build | 2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-httpd-toolsx86_64 | Advisory build | 2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-libcurlx86_64 | Advisory build | 7.61.1-1.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-libcurl-develx86_64 | Advisory build | 7.61.1-1.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-libnghttp2x86_64 | Advisory build | 1.7.1-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-libnghttp2-develx86_64 | Advisory build | 1.7.1-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-mod_ldapx86_64 | Advisory build | 2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-mod_proxy_htmlx86_64 | Advisory build | 1:2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-mod_sessionx86_64 | Advisory build | 2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-mod_sslx86_64 | Advisory build | 1:2.4.34-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-nghttp2src | Advisory build | 1.7.1-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-nghttp2x86_64 | Advisory build | 1.7.1-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-6 | httpd24-nghttp2-debuginfox86_64 | Advisory build | 1.7.1-7.el6 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | curlaarch64 | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curlppc64 | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curlppc64le | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curls390x | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curlsrc | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curlx86_64 | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curl-debuginfoaarch64 | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curl-debuginfoi686 | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curl-debuginfoppc | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curl-debuginfoppc64 | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curl-debuginfoppc64le | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curl-debuginfos390 | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curl-debuginfos390x | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | curl-debuginfox86_64 | Advisory build | 7.29.0-42.el7_4.1 | RHSA-2017:3263 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-curlaarch64 | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-curlppc64le | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-curls390x | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-curlsrc | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-curlx86_64 | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-curl-debuginfoaarch64 | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-curl-debuginfoppc64le | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-curl-debuginfos390x | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-curl-debuginfox86_64 | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpdaarch64 | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpdppc64le | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpds390x | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpdsrc | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpdx86_64 | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-debuginfoaarch64 | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-debuginfoppc64le | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-debuginfos390x | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-debuginfox86_64 | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-develaarch64 | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-develppc64le | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-devels390x | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-develx86_64 | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-manualnoarch | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-toolsaarch64 | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-toolsppc64le | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-toolss390x | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-httpd-toolsx86_64 | Advisory build | 2.4.34-7.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-libcurlaarch64 | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-libcurlppc64le | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-libcurls390x | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-libcurlx86_64 | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-libcurl-develaarch64 | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-libcurl-develppc64le | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
| Red Hat Enterprise Linux | RHEL-7 | httpd24-libcurl-devels390x | Advisory build | 7.61.1-1.el7 | RHSA-2018:3558 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-119 CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
8- DSA-4007 http://www.debian.org/security/2017/dsa-4007
- 101519 http://www.securityfocus.com/bid/101519
- 1039644 http://www.securitytracker.com/id/1039644
- RHSA-2017:3263 https://access.redhat.com/errata/RHSA-2017:3263
- RHSA-2018:2486 https://access.redhat.com/errata/RHSA-2018:2486
- RHSA-2018:3558 https://access.redhat.com/errata/RHSA-2018:3558
- https://curl.haxx.se/docs/adv_20171023.html
- GLSA-201712-04 https://security.gentoo.org/glsa/201712-04
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 39c98b6ab4e25b322b080fc98f782665f568a675c479c822ec5176fd66cc5e76
- Ingested
- 23 Sep 2026, 07:41:47 UTC
- Source record
- Official CVE record