Medium
Security advisory
Wasm3 0.5.0 has an out-of-bounds write in CompileBlock (called from Compile_LoopOrBlock and CompileBlockStatements).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-45946
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:44 UTC · Revision 1
Source evidence
Wasm3 0.5.0 has an out-of-bounds write in CompileBlock (called from Compile_LoopOrBlock and CompileBlockStatements).
osv:CVE-2021-45946
Complete source record
{
"id": "7aad24ee3a55f037557ee0f69db8cd25003e73c5b787321f8f66f0bd2ad8b211",
"url": "https://osv.dev/vulnerability/CVE-2021-45946",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-45946",
"summary": "Wasm3 0.5.0 has an out-of-bounds write in CompileBlock (called from Compile_LoopOrBlock and CompileBlockStatements).",
"evidence": "osv:CVE-2021-45946",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-45946",
"aliases": [
"CVE-2021-45946"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wasm3/wasm3",
"type": "GIT",
"events": [
{
"introduced": "6b8bcb1e07bf26ebef09a7211b0a37a446eafd52"
},
{
"last_affected": "6b8bcb1e07bf26ebef09a7211b0a37a446eafd52"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wasm3_project:wasm3:0.5.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.5.0"
},
{
"last_affected": "0.5.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.5.0",
"v0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45946.json"
}
}
],
"modified": "2026-10-24T10:30:57.614031102Z",
"provider": "osv",
"references": [
"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/wasm3/OSV-2021-678.yaml",
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33555"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-45946",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438897,
"published_at": "2022-01-01T00:15:08.277+00:00"
}