CVE-2023-27781 Memory corruption in n/a

High 7.8 Published Updated

A heap overflow in jpegoptim allows attackers to execute arbitrary code or cause denial of service via crafted JPEG files.

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
Available

What is CVE-2023-27781?

CVE-2023-27781 is a high-severity memory corruption vulnerability in n/a, published on 15 Mar 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

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

Weakness: CWE-787

Which versions are affected by CVE-2023-27781?

It affects 1 product.

Products include Jpegoptim Project Jpegoptim.

How do I fix CVE-2023-27781?

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-2023-27781 being exploited?

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

Sources

Also known as DEBIAN-CVE-2023-27781, GHSA-9j85-mhfm-pjrc, MGASA-2023-0143, UBUNTU-CVE-2023-27781.

Is CVE-2023-27781 in your software?

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

Check your SBOMs for free