CVE-2017-8358 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer overflow in LibreOffice's JPEG reader allows attackers to execute arbitrary code via a malicious image file.

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

What is CVE-2017-8358?

CVE-2017-8358 is a critical memory corruption vulnerability in Libreoffice Libreoffice, published on 30 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2017-8358?

It affects 1 product.

Products include Libreoffice Libreoffice.

How do I fix CVE-2017-8358?

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-8358 being exploited?

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

All Libreoffice Libreoffice vulnerabilities

Sources

Also known as GHSA-vw4f-g2ch-x868.

Is CVE-2017-8358 in your software?

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

Check your SBOMs for free