---
id: CVE-2024-27529
aliases:
  - GHSA-fmq6-4w57-2w3v
  - PYSEC-2024-305
title: wasm3 uncontrolled memory allocation vulnerability
summary: wasm3 uncontrolled memory allocation vulnerability
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: shareup
product: github.com/shareup/wasm-interpreter-apple
ecosystem: swift
affected:
  - github.com/shareup/wasm-interpreter-apple <= 0.8.1
  - pywasm3 <= 0.5.0
  - wasm3 <= 0.3.1
published: '2024-11-09'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:20.646148431Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-fmq6-4w57-2w3v'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-27529'
  - url: 'https://github.com/wasm3/wasm3/issues/462'
  - url: 'https://github.com/wasm3/wasm3/pull/490'
  - url: >-
      https://github.com/wasm3/wasm3/commit/526c1251b64e6e9fdc0d40c768ae46cd20338594
  - url: 'https://gist.github.com/haruki3hhh/ac70bd83b9c0ed1de6289d818488da78'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/pywasm3/PYSEC-2024-305.yaml
tags:
  - osv
  - swift
epss: 0.00264
epssPercentile: 0.18607
ingestedAt: '2026-09-12T03:13:01.692Z'
---

## Overview

wasm3 at commit 139076a contains a memory leak in the Read_utf8 function.

## Affected packages

- `github.com/shareup/wasm-interpreter-apple <= 0.8.1`
- `pywasm3 <= 0.5.0`
- `wasm3 <= 0.3.1`

## Remediation

Refer to the advisory for the patched release.
