CVE-2019-25009
Double free in http
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
- Record
CVE-2019-25009- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-415
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
- Record
CVE-2019-25009- Updated
- 2026-11-02
EUVDEUVD-2021-1602 No score
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
- Record
EUVD-2021-1602- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6rhx-hqxm-8p36
9.8
Double free in http
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
- Record
GHSA-6rhx-hqxm-8p36- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-415
- Updated
- 2026-11-02
OSV
9.8
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
- Record
CVE-2019-25009- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-25009
9.8
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
- Record
DEBIAN-CVE-2019-25009- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-6rhx-hqxm-8p36
9.8
Double free in http
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
- Record
GHSA-6rhx-hqxm-8p36- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-415
- Updated
- 2026-11-02
OSVRUSTSEC-2019-0034
9.8
HeaderMap::Drain API is unsound
Affected versions of this crate incorrectly used raw pointer, which introduced unsoundness in its public safe API.
Failing to drop the Drain struct causes double-free, and it is possible to violate Rust's alias rule and cause data race with Drain's Iterator implementation.
The flaw was corrected in 0.1.20 release of http crate.
- Record
RUSTSEC-2019-0034- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-25009
9.8
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
- Record
UBUNTU-CVE-2019-25009- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
httpcrates.io |
before 0.1.20 | 0.1.20 |
rust-httpDebian:12 |
before 0.1.21-0.1 | 0.1.21-0.1 |
rust-httpDebian:13 |
before 0.1.21-0.1 | 0.1.21-0.1 |
rust-httpDebian:14 |
before 0.1.21-0.1 | 0.1.21-0.1 |
httpcrates.io |
0.0.0-0 up to 0.1.20 | 0.1.20 |
rust-httpUbuntu:20.04:LTS |
All versions, plus listed versions 0.1.17-10.1.19-1 |
None known |
rust-httpUbuntu:24.04:LTS |
All versions, plus listed versions 0.2.7-10.2.9-1 |
None known |
rust-httpUbuntu:25.10 |
All versions, plus listed versions 1.2.0-1 |
None known |
rust-httpUbuntu:26.10 |
All versions, plus listed versions 1.3.1-11.4.0-11.5.0-1 |
None known |
rust-httpUbuntu:26.04:LTS |
All versions, plus listed versions 1.2.0-11.3.1-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-25009 is a critical vulnerability (CVSS 9.8) in Hyper Http, published November 16, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.85%, the 79th percentile. Fixed in http 0.1.20.