CVE-2017-1000257

critical
Published 2017-10-31 ยท Modified 2026-05-13
CVSS v3
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
9.1

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.

Predictions

Exploit likelihood
94%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
suse slesaffected
arch archfixed7.56.1-1
debian debianbookwormfixed7.56.1-1
debian debianbullseyefixed7.56.1-1
debian debianforkyfixed7.56.1-1
debian debiansidfixed7.56.1-1
debian debiantrixiefixed7.56.1-1
debian debian8.0affected
debian debian9.0affected

Application impact

VendorProductVersionsFixed
haxxlibcurl{"startIncluding":"7.20.0","endIncluding":"7.56.0"}

References

CWEs

CWE-119

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.