Use After Free Affecting typst package, versions <0.14.2-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-TYPST-14423012
  • published15 Dec 2025
  • disclosed9 Dec 2025

Introduced: 9 Dec 2025

CVE-2025-66627  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Chainguard typst to version 0.14.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream typst package and not the typst package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Wasmi is a WebAssembly interpreter focused on constrained and embedded systems. In versions 0.41.0, 0.41.1, 0.42.0 through 0.47.1, 0.50.0 through 0.51.2 and 1.0.0, Wasmi's linear memory implementation leads to a Use After Free vulnerability, triggered by a WebAssembly module under certain memory growth conditions. This issue potentially leads to memory corruption, information disclosure, or code execution. This issue is fixed in versions 0.41.2, 0.47.1, 0.51.3 and 1.0.1. To workaround this issue, consider limiting the maximum linear memory sizes where feasible.

CVSS Base Scores

version 3.1