Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-1000810
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:19 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-1000810
Complete source record
{
"id": "7f115c2e90dcbc1a194d30677465468c0314d90d2a56332af3a3c03538a16df5",
"url": "https://osv.dev/vulnerability/CVE-2018-1000810",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-1000810",
"summary": "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.",
"evidence": "osv:CVE-2018-1000810",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2018-1000810",
"aliases": [
"CVE-2018-1000810"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rust-lang/rust",
"type": "GIT",
"events": [
{
"introduced": "a7756804103447ea4e68a71ccf071e7ad8f7a03e"
},
{
"last_affected": "aa3ca1994904f2e056679fce1f185db8c7ed2703"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rust-lang:rust:1.26.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.26.0"
},
{
"last_affected": "1.26.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:rust-lang:rust:1.26.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.26.1"
},
{
"last_affected": "1.26.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:rust-lang:rust:1.26.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.26.2"
},
{
"last_affected": "1.26.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:rust-lang:rust:1.27.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.27.0"
},
{
"last_affected": "1.27.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:rust-lang:rust:1.27.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.27.1"
},
{
"last_affected": "1.27.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:rust-lang:rust:1.27.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.27.2"
},
{
"last_affected": "1.27.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:rust-lang:rust:1.28.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.28.0"
},
{
"last_affected": "1.28.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:rust-lang:rust:1.29.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.29.0"
},
{
"last_affected": "1.29.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.26.0",
"1.26.1",
"1.26.2",
"1.27.0",
"1.27.1",
"1.27.2",
"1.28.0",
"1.29.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000810.json"
}
}
],
"modified": "2026-10-24T10:30:51.617421788Z",
"provider": "osv",
"references": [
"https://groups.google.com/forum/#%21topic/rustlang-security-announcements/CmSuTm-SaU0",
"https://blog.rust-lang.org/2018/09/21/Security-advisory-for-std.html",
"https://security.gentoo.org/glsa/201812-11"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:rust-lang:rust:1.26.0:*:*:*:*:*:*:*",
"cpe:2.3:a:rust-lang:rust:1.26.1:*:*:*:*:*:*:*",
"cpe:2.3:a:rust-lang:rust:1.26.2:*:*:*:*:*:*:*",
"cpe:2.3:a:rust-lang:rust:1.27.0:*:*:*:*:*:*:*",
"cpe:2.3:a:rust-lang:rust:1.27.1:*:*:*:*:*:*:*",
"cpe:2.3:a:rust-lang:rust:1.27.2:*:*:*:*:*:*:*",
"cpe:2.3:a:rust-lang:rust:1.28.0:*:*:*:*:*:*:*",
"cpe:2.3:a:rust-lang:rust:1.29.0:*:*:*:*:*:*:*"
],
"vendor_product": "rust-lang:rust",
"extracted_events": [
{
"range": [
{
"introduced": "1.26.0"
},
{
"last_affected": "1.26.0"
},
{
"introduced": "1.26.1"
},
{
"last_affected": "1.26.1"
},
{
"introduced": "1.26.2"
},
{
"last_affected": "1.26.2"
},
{
"introduced": "1.27.0"
},
{
"last_affected": "1.27.0"
},
{
"introduced": "1.27.1"
},
{
"last_affected": "1.27.1"
},
{
"introduced": "1.27.2"
},
{
"last_affected": "1.27.2"
},
{
"introduced": "1.28.0"
},
{
"last_affected": "1.28.0"
},
{
"introduced": "1.29.0"
},
{
"last_affected": "1.29.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-1000810",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 437528,
"published_at": "2018-10-08T15:29:01.227+00:00"
}