Skip to content
Fencer Vulns
high 7.5

CVE-2020-25574 json

Duplicate Advisory: Integer Overflow in HeaderMap::reserve() can cause Denial of Service

published 2019-11-16 6 y ago modified 2026-09-10 1 mo ago also CVE-2019-25008 , GHSA-x7vr-c387-8w57 , GHSA-xvc9-xwgj-4cq9 , RUSTSEC-2019-0033 , EUVD-2021-1930

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.5%
EPSS 2.5% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

An issue was discovered in the http crate before 0.1.20 for Rust. An integer overflow in HeaderMap::reserve() could result in denial of service (e.g., an infinite loop).

Patch / fix

  • crates.io http 0.1.20
  • hyper http 0.1.20
  • rust-http Debian 14, Debian 13, Debian 12 0.1.19-2

debian advisories DEBIAN-CVE-2020-25574

Exploit prediction

2.53% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/hyperium/http/issues/352 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
crates.io http
<0.1.20
>=0.0.0-0, <0.1.20
0.1.20

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound
  • CWE-835 Loop with Unreachable Exit Condition

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.