CVE-2023-48161: Heap-buffer overflow in GifLib DumpScreen2RGB
- Vendor
- Giflib Project
CVE-2023-48161 is a heap-buffer overflow vulnerability affecting GifLib 5.2.1. The flaw occurs in the DumpScreen2RGB function during image saving and allows a local attacker to obtain sensitive information. Affected downstream packages include multiple OpenJDK distributions incorporating giflib.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disclose sensitive information to a local attacker. The vulnerability is also rated as having high availability impact, potentially causing denial of service. No integrity impact is identified.
Mitigation
If you can’t patch tonight, do this now.
Restrict local access to systems running vulnerable versions of GifLib. Avoid processing untrusted GIF files with gif2rgb, and consider sandboxing or running the utility with reduced privileges to limit potential impact.
Remediation
Patch, then assume compromise.
Install vendor-provided security updates for affected giflib packages and products incorporating the vulnerable component. Fixed Red Hat OpenJDK releases include 8u432, 11.0.25, 17.0.13, and 21.0.5 for the applicable Windows and portable Linux builds. For RHEL-packaged OpenJDK, apply the corresponding October 2024 security errata for the installed release and support stream. Other affected distributions should apply their corresponding giflib or OpenJDK security updates. A fixed upstream GifLib version is not specified.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2023-48161 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2023-48161 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-48161?
- Yes. As of Nov 27, 2026, Mallory has reports of a public exploit for CVE-2023-48161.
- Is there a patch for CVE-2023-48161?
- Install vendor-provided security updates for affected giflib packages and products incorporating the vulnerable component. Fixed Red Hat OpenJDK releases include 8u432, 11.0.25, 17.0.13, and 21.0.5 for the applicable Windows and portable Linux builds.
- What products are affected by CVE-2023-48161?
- Giflib Project Giflib.
- How severe is CVE-2023-48161?
- CVE-2023-48161 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 0.34% (20th percentile) as of Nov 27, 2026.
Recent activity
28 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.