CriticalFix available
rustc — security advisory
In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.
- Products
- rustc
- Affected versions
- Not specified
- Fixed versions
- 1.53.0+dfsg1-1
- CVEs
- CVE-2020-36318
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:32 UTC · Revision 1
Source evidence
In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.
osv:DEBIAN-CVE-2020-36318
rustc
Fixed versions: 1.53.0+dfsg1-1
rustc
Fixed versions: 1.53.0+dfsg1-1
rustc
Fixed versions: 1.53.0+dfsg1-1
Complete source record
{
"id": "70011ba3a277080fa95b37bff66b59f909bcd12d531c5d1425b39429f4959cc0",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-36318",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-36318",
"summary": "In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.",
"evidence": "osv:DEBIAN-CVE-2020-36318",
"products": [
{
"name": {
"value": "rustc",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.53.0+dfsg1-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "rustc",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.53.0+dfsg1-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "rustc",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.53.0+dfsg1-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2020-36318",
"aliases": [
"DEBIAN-CVE-2020-36318"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.53.0+dfsg1-1"
}
]
}
],
"package": {
"name": "rustc",
"purl": "pkg:deb/debian/rustc?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-36318.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.53.0+dfsg1-1"
}
]
}
],
"package": {
"name": "rustc",
"purl": "pkg:deb/debian/rustc?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-36318.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.53.0+dfsg1-1"
}
]
}
],
"package": {
"name": "rustc",
"purl": "pkg:deb/debian/rustc?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-36318.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:02:32.048177692Z",
"provider": "osv",
"upstream": [
"CVE-2020-36318"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-36318"
]
},
"related_cves": [
{
"value": "CVE-2020-36318",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 452470,
"published_at": "2021-04-11T20:15:12.5+00:00"
}