CVE-2017-9146 Memory corruption in n/a

High 8.8 Published Updated

Remote attackers can cause denial of service or potential code execution via a crafted TNEF file due to improper memory allocation handling in the ytnef library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-9146?

CVE-2017-9146 is a high-severity memory corruption vulnerability in n/a, published on 22 May 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The TNEFFillMapi function in lib/ytnef.c in libytnef in ytnef through 1.9.2 does not ensure a nonzero count value before a certain memory allocation, which allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted tnef file.

Weakness: CWE-119

Which versions are affected by CVE-2017-9146?

It affects 1 product.

Products include Ytnef Project Ytnef.

How do I fix CVE-2017-9146?

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-2017-9146 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-9146, GHSA-798c-jx77-ccgp, UBUNTU-CVE-2017-9146.

Is CVE-2017-9146 in your software?

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

Check your SBOMs for free