CVE-2017-1000257

CRITICAL
9.1
CVSS Score
Published: October 31, 2017 at 09:00 PM UTC
Updated: June 17, 2026 at 12:59 AM UTC
2 products affected across 2 vendorsDebian LinuxLibcurl

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.1
Exploit prediction
EPSS 6%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.20.0 ≤ v ≤ 7.56.0

References (8)

Vendor Advisoryx_refsource_DEBIANThird Party Advisory
http://www.debian.org/security/2017/dsa-4007
VDB Entryx_refsource_BIDThird Party Advisory
http://www.securityfocus.com/bid/101519
VDB Entryx_refsource_SECTRACKThird Party Advisory
http://www.securitytracker.com/id/1039644
x_refsource_CONFIRMVendor Advisory
https://curl.haxx.se/docs/adv_20171023.html
Vendor Advisoryx_refsource_GENTOO
https://security.gentoo.org/glsa/201712-04

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

9.1CRITICALCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-119

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card