CVE-2023-31974 Use after free in n/a

Medium 5.5 Published Updated

A use-after-free flaw in the YASM assembler's preprocessor could allow attackers to execute arbitrary code or cause a denial of service.

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-2023-31974?

CVE-2023-31974 is a medium-severity use after free vulnerability in n/a, published on 9 May 2023. 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

yasm v1.3.0 was discovered to contain a use after free via the function error at /nasm/nasm-pp.c. Note: Multiple third parties dispute this as a bug and not a vulnerability according to the YASM security policy.

Weakness: CWE-416

Which versions are affected by CVE-2023-31974?

It affects 1 product.

Products include Tortall Yasm.

How do I fix CVE-2023-31974?

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

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

Sources

Also known as AZL-26635, AZL-35382, DEBIAN-CVE-2023-31974, GHSA-57f5-g442-hrw2.

Is CVE-2023-31974 in your software?

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

Check your SBOMs for free