CVE-2026-6654 Affecting typst package, versions <0.14.2-r5


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.16% (5th 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 IDSNYK-CHAINGUARDLATEST-TYPST-16475574
  • published7 May 2026
  • disclosed20 Apr 2026

Introduced: 20 Apr 2026

CVE-2026-6654  (opens in a new tab)

How to fix?

Upgrade Chainguard typst to version 0.14.2-r5 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.

Double-Free / Use-After-Free (UAF) in the IntoIter::drop and ThinVec::clear functions in the thin_vec crate. A panic in ptr::drop_in_place skips setting the length to zero.

CVSS Base Scores

version 3.1