CVE-2021-42195 Memory corruption in n/a

High 7.8 Published Updated

A heap-buffer-overflow in swftools allows attackers to execute arbitrary code via a crafted SWF 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-2021-42195?

CVE-2021-42195 is a high-severity memory corruption vulnerability in Swftools Swftools, published on 31 May 2022. 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

An issue was discovered in swftools through 20201222. A heap-buffer-overflow exists in the function handleEditText() located in swfdump.c. It allows an attacker to cause code Execution.

Weakness: CWE-787

Which versions are affected by CVE-2021-42195?

It affects 1 product.

Products include Swftools Swftools.

How do I fix CVE-2021-42195?

No fix has been published for CVE-2021-42195 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-2021-42195 being exploited?

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

All Swftools Swftools vulnerabilities

Sources

Also known as GHSA-r9g2-h99h-4mcw, UBUNTU-CVE-2021-42195.

Is CVE-2021-42195 in your software?

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

Check your SBOMs for free