CVE-2023-48161 Memory corruption in n/a

High 7.1 Published Updated

A local attacker can exploit a buffer overflow in GifLib to obtain sensitive information via the DumpSCreen2RGB function.

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-2023-48161?

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

Official description

Buffer Overflow vulnerability in GifLib Project GifLib v.5.2.1 allows a local attacker to obtain sensitive information via the DumpSCreen2RGB function in gif2rgb.c

Weakness: CWE-787

Which versions are affected by CVE-2023-48161?

It affects 1 product.

Products include Giflib Project Giflib.

How do I fix CVE-2023-48161?

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

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

Sources

Also known as ALPINE-CVE-2023-48161, AZL-32035, AZL-34729, BELL-CVE-2023-48161, CLSA-2025-1762544321, DEBIAN-CVE-2023-48161 and 6 more.

Is CVE-2023-48161 in your software?

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

Check your SBOMs for free