CVE-2018-20374 Memory corruption in n/a

Medium 5.5 Published Updated

An attacker can cause an out-of-bounds write in Tiny C Compiler by providing a crafted source file, potentially leading to code execution or crashes.

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-2018-20374?

CVE-2018-20374 is a medium-severity memory corruption vulnerability in n/a, published on 23 Dec 2018. 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 Tiny C Compiler (aka TinyCC or TCC) 0.9.27. Compiling a crafted source file leads to an 8 byte out of bounds write in the use_section1 function in tccasm.c.

Weakness: CWE-787

Which versions are affected by CVE-2018-20374?

It affects 1 product.

Products include Tinycc Tinycc.

How do I fix CVE-2018-20374?

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

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

Sources

Also known as DEBIAN-CVE-2018-20374, GHSA-c6x3-v6cq-j2qh, UBUNTU-CVE-2018-20374.

Is CVE-2018-20374 in your software?

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

Check your SBOMs for free