CVE-2023-43907 Memory corruption in n/a

High 7.8 Published Updated

A global buffer overflow in OptiPNG allows attackers to execute arbitrary code or cause denial of service via crafted GIF 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-43907?

CVE-2023-43907 is a high-severity memory corruption vulnerability in n/a, published on 1 Oct 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

OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.

Weakness: CWE-120

Which versions are affected by CVE-2023-43907?

It affects 1 product.

Linux distribution packages (3)
optipng SUSE:Package Hub 15 SP4All versions0.7.8-bp154.3.5.1
optipng openSUSE:Leap 15.4All versions0.7.8-bp154.3.5.1
optipng openSUSE:TumbleweedAll versions0.7.8-1.1

Products include Optipng Project Optipng.

How do I fix CVE-2023-43907?

Apply the vendor's patch.

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

Is CVE-2023-43907 being exploited?

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

Sources

Also known as AZL-36971, AZL-37153, DEBIAN-CVE-2023-43907, GHSA-xwf2-9m25-2hpf, MGASA-2023-0333, OESA-2023-1873 and 3 more.

Is CVE-2023-43907 in your software?

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

Check your SBOMs for free