CVE-2025-66342 Memory corruption in Affinity

High 7.8 Published Updated

A type confusion vulnerability in Canva Affinity allows attackers to execute arbitrary code via a specially crafted EMF file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-66342?

CVE-2025-66342 is a high-severity memory corruption vulnerability in Canva Affinity, published on 17 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A type confusion vulnerability exists in the EMF functionality of Canva Affinity. A specially crafted EMF file can trigger this vulnerability, which can lead to memory corruption and result in arbitrary code execution.

Weakness: CWE-843

Which versions are affected by CVE-2025-66342?

It affects 1 product.

Products include Canva Affinity.

How do I fix CVE-2025-66342?

No fix has been published for CVE-2025-66342 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-66342 being exploited?

There is no known exploitation of CVE-2025-66342 in the wild and no public exploit code.

Sources

Also known as GHSA-8xhw-2gcw-668p.

Is CVE-2025-66342 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free