rust: Buffer overflow in str::repeat function in the standard library
Published Oct 8, 2018
9.8
CRITICALCVSS 3.0
EPSS 2.99%
Description
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 8
rust-toolset:rhel8/rust
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | rust-toolset:rhel8/rust | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.99% (0.02992) | 86.88th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.96% (0.02955) | 85.35th | v5 (v2026.06.15) |
| Sep 8, 2025 | 0.77% (0.00766) | 72.53th | v4 (v2025.03.14) |
| Apr 29, 2025 | 1.84% (0.01844) | 81.97th | v4 (v2025.03.14) |
| Mar 30, 2025 | 0.55% (0.00550) | 65.33th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.89% (0.01893) | 72.21th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.38% (0.00377) | 73.08th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.38% (0.00377) | 72.06th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.38% (0.00377) | 69.75th | v3 (v2023.03.01) |
| Oct 2, 2023 | 0.33% (0.00326) | 67.32th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.27% (0.00274) | 62.96th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00833) | 24.58th | v1 |
| Jan 6, 2022 | 0.83% (0.00833) | 23.96th | v1 |
| Sep 1, 2021 | 0.83% (0.00833) | 57.50th | v1 |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2018-1000810 Vendor Advisory
- https://blog.rust-lang.org/2018/09/21/Security-advisory-for-std.html x_refsource_CONFIRMVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1632932 Issue Tracking
- https://groups.google.com/forum/#%21topic/rustlang-security-announcements/CmSuTm-SaU0 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000810
- https://security.gentoo.org/glsa/201812-11 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-1000810
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-1000810 | Vendor Advisory | |
| https://blog.rust-lang.org/2018/09/21/Security-advisory-for-std.html | x_refsource_CONFIRMVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1632932 | Issue Tracking | |
| https://groups.google.com/forum/#%21topic/rustlang-security-announcements/CmSuTm-SaU0 | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-1000810 | ||
| https://security.gentoo.org/glsa/201812-11 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-1000810 |
Change history (0)
No recorded changes yet.