CVE-2018-16742 Memory corruption in n/a

High 7.8 Published Updated

A stack-based buffer overflow in mgetty allows attackers to execute arbitrary code via a malicious command-line parameter.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-16742?

CVE-2018-16742 is a high-severity memory corruption vulnerability in n/a, published on 13 Sep 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in mgetty before 1.2.1. In contrib/scrts.c, a stack-based buffer overflow can be triggered via a command-line parameter.

Weakness: CWE-787

Which versions are affected by CVE-2018-16742?

It affects 1 product.

Products include Mgetty Project Mgetty.

How do I fix CVE-2018-16742?

Upgrade to a fixed version.

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

Is CVE-2018-16742 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-16742, GHSA-4qch-qm87-8j72, UBUNTU-CVE-2018-16742.

Is CVE-2018-16742 in your software?

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

Check your SBOMs for free