CVE-2022-40009 Use after free in n/a

Critical 9.8 Published Updated

A heap-use-after-free in SWFTools allows attackers to execute arbitrary code or cause a denial of service via crafted TTF files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-40009?

CVE-2022-40009 is a critical use after free vulnerability in Swftools Swftools, published on 20 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SWFTools commit 772e55a was discovered to contain a heap-use-after-free via the function grow_unicode at /lib/ttf.c.

Weakness: CWE-416

Which versions are affected by CVE-2022-40009?

It affects 1 product.

Products include Swftools Swftools.

How do I fix CVE-2022-40009?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-40009 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40009 exists.

All Swftools Swftools vulnerabilities

Sources

Also known as GHSA-j58c-4rjr-572h, UBUNTU-CVE-2022-40009.

Is CVE-2022-40009 in your software?

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

Check your SBOMs for free