CVE-2026-54914

Source
https://cve.org/CVERecord?id=CVE-2026-54914
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54914.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54914
Aliases
  • GHSA-wj3p-xhqm-pffc
Downstream
Published
2026-11-05T17:27:16Z
Modified
2026-11-14T07:06:02Z
Severity
  • 8.3 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
WebAssembly Micro Runtime: Heap Buffer Overflow in WAMR WASI poll_oneoff Output Buffer
Details

WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. Prior to 2.4.5, wasi_poll_oneoff in core/iwasm/libraries/libc-wasi/libc_wasi_wrapper.c validates the output pointer for only one wasi_event_t, while wasmtime_ssp_poll_oneoff in core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c can write as many events as the guest-controlled nsubscriptions value. A crafted guest module can provide multiple subscriptions that produce events while positioning an output region large enough for only one event, causing a later out[nevents] write to cross the validated Wasm linear-memory boundary into adjacent host heap memory. The overwrite contains partly attacker-controlled event data and can reliably crash the host process, with further confidentiality or integrity consequences depending on heap layout. This issue is fixed in version 2.4.5.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-122"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54914.json"
}
References

Affected packages

Git / github.com/wasm-micro-runtime/wasm-micro-runtime

Affected ranges

Type
GIT
Repo
https://github.com/wasm-micro-runtime/wasm-micro-runtime
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "2.4.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "1f98fb01d09b2ef5e49dc0be2e6006f962fd87f1"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "b49d10eac4176817305d60ea59d24bc69a53eb7b"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "WAMR-2.4.5",
            "range":  [
                {
                    "fixed":  "25bd7eb63e828e4bd242cc9b38d260b4b31c6605"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

Other
01-12-2020
WAMR-01-18-2022
WAMR-01-29-2021
WAMR-02-18-2020
WAMR-02-27-2020
WAMR-03-05-2020
WAMR-03-19-2020
WAMR-03-25-2021
WAMR-03-30-2020
WAMR-04-15-2020
WAMR-04-15-2021
WAMR-05-18-2022
WAMR-06-15-2020
WAMR-07-10-2020
WAMR-08-10-2021
WAMR-09-08-2020
WAMR-09-29-2020
WAMR-12-30-2021
tag-11-28-2019
WAMR-1.*
WAMR-1.0.0
WAMR-1.1.0
WAMR-1.1.1
WAMR-1.1.2
WAMR-1.2.0
WAMR-1.2.1
WAMR-1.2.2
WAMR-1.2.3
WAMR-1.3.0
WAMR-1.3.1
WAMR-1.3.2
WAMR-2.*
WAMR-2.0.0
WAMR-2.1.0
WAMR-2.1.1
WAMR-2.1.2
WAMR-2.2.0
WAMR-2.3.0
WAMR-2.3.1
WAMR-2.4.0
WAMR-2.4.1
WAMR-2.4.2
WAMR-2.4.3
WAMR-2.4.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54914.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "121148291565258243439565157701292657262",
            "length":  565
        },
        "id":  "CVE-2026-54914-006fabc9",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/wasm-micro-runtime/wasm-micro-runtime/commit/b49d10eac4176817305d60ea59d24bc69a53eb7b",
        "target":  {
            "file":  "core/iwasm/libraries/libc-uvwasi/libc_uvwasi_wrapper.c",
            "function":  "wasi_poll_oneoff"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "199741511605714983965897265474233080804",
                "277837696753816773809806781293763720769",
                "113245094359085825592357432246252661792",
                "155242826783303464323558242272869418006",
                "231034397953742285459929617597773199538",
                "223847121854240960755758915183089474080",
                "94281879048069269054945132988962902571",
                "218353027831703514683757975074818664838",
                "329038602073654193569095996814421249870"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54914-03db207c",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/wasm-micro-runtime/wasm-micro-runtime/commit/b49d10eac4176817305d60ea59d24bc69a53eb7b",
        "target":  {
            "file":  "core/iwasm/libraries/libc-wasi/libc_wasi_wrapper.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "149472756454055456652588526212299278874",
                "313809154755521537486843271424689044683",
                "168584890864621765201543744407517788822",
                "322237594809820376137507375493187032117",
                "13663662786894339711675274059618606705",
                "242997208554364582091332747010940998935",
                "94281879048069269054945132988962902571",
                "218353027831703514683757975074818664838",
                "300056440945640944702655554134441706672"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54914-3d95c63c",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/wasm-micro-runtime/wasm-micro-runtime/commit/1f98fb01d09b2ef5e49dc0be2e6006f962fd87f1",
        "target":  {
            "file":  "core/iwasm/libraries/libc-uvwasi/libc_uvwasi_wrapper.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "132771557826460658971980094110565716983",
            "length":  746
        },
        "id":  "CVE-2026-54914-41229d3e",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/wasm-micro-runtime/wasm-micro-runtime/commit/b49d10eac4176817305d60ea59d24bc69a53eb7b",
        "target":  {
            "file":  "core/iwasm/libraries/libc-wasi/libc_wasi_wrapper.c",
            "function":  "wasi_poll_oneoff"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "199741511605714983965897265474233080804",
                "277837696753816773809806781293763720769",
                "113245094359085825592357432246252661792",
                "155242826783303464323558242272869418006",
                "231034397953742285459929617597773199538",
                "223847121854240960755758915183089474080",
                "94281879048069269054945132988962902571",
                "218353027831703514683757975074818664838",
                "329038602073654193569095996814421249870"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54914-a0d05bc4",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/wasm-micro-runtime/wasm-micro-runtime/commit/1f98fb01d09b2ef5e49dc0be2e6006f962fd87f1",
        "target":  {
            "file":  "core/iwasm/libraries/libc-wasi/libc_wasi_wrapper.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "121148291565258243439565157701292657262",
            "length":  565
        },
        "id":  "CVE-2026-54914-be7dc589",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/wasm-micro-runtime/wasm-micro-runtime/commit/1f98fb01d09b2ef5e49dc0be2e6006f962fd87f1",
        "target":  {
            "file":  "core/iwasm/libraries/libc-uvwasi/libc_uvwasi_wrapper.c",
            "function":  "wasi_poll_oneoff"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "149472756454055456652588526212299278874",
                "313809154755521537486843271424689044683",
                "168584890864621765201543744407517788822",
                "322237594809820376137507375493187032117",
                "13663662786894339711675274059618606705",
                "242997208554364582091332747010940998935",
                "94281879048069269054945132988962902571",
                "218353027831703514683757975074818664838",
                "300056440945640944702655554134441706672"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54914-d4db0a25",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/wasm-micro-runtime/wasm-micro-runtime/commit/b49d10eac4176817305d60ea59d24bc69a53eb7b",
        "target":  {
            "file":  "core/iwasm/libraries/libc-uvwasi/libc_uvwasi_wrapper.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "132771557826460658971980094110565716983",
            "length":  746
        },
        "id":  "CVE-2026-54914-d839c51a",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/wasm-micro-runtime/wasm-micro-runtime/commit/1f98fb01d09b2ef5e49dc0be2e6006f962fd87f1",
        "target":  {
            "file":  "core/iwasm/libraries/libc-wasi/libc_wasi_wrapper.c",
            "function":  "wasi_poll_oneoff"
        }
    }
]
vanir_signatures_modified
"2026-11-14T07:06:02Z"