Live threats

All CVEs / Rust-lang

CVE-2018-1000810Rust-lang Rust

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.3%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Oct 8, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The Rust Programming Language Standard Library version 1.29.0, 1.28.0, 1.27.2, 1.27.1, 127.0, 126.2, 126.1, 126.0 contains a CWE-680: Integer Overflow to Buffer Overflow vulnerability in standard library that can result in buffer overflow. This attack appear to be exploitable via str::repeat, passed a large number, can overflow an internal buffer. This vulnerability appears to have been fixed in 1.29.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rust.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
rust-langrust1.26.0
rust-langrust1.26.1
rust-langrust1.26.2
rust-langrust1.27.0
rust-langrust1.27.1
rust-langrust1.27.2
rust-langrust1.28.0
rust-langrust1.29.0

Official sources

References

Links published by the sources. Open them with care.