CVE-2023-47995
Homebrew vulnerability analysis and mitigation

Overview

CVE-2023-47995 is a memory allocation vulnerability discovered in the FreeImage_AllocateBitmap function within BitmapAccess.cpp of FreeImage 3.18.0. The vulnerability was disclosed in January 2024 and affects the core functionality of the FreeImage library, which is used for handling various image formats (NVD).

Technical details

The vulnerability stems from improper validation of image dimensions in the FreeImage_AllocateBitmap function. When processing images, the function calculates memory allocation size based on user-controllable width and height parameters without proper bounds checking. This can lead to excessive memory allocation requests when specially crafted image dimensions are provided. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD, GitHub POC).

Impact

When exploited, this vulnerability allows attackers to cause a denial of service condition by consuming excessive system memory. The impact is primarily on system availability, as the vulnerable function can be manipulated to request large amounts of memory that could exhaust system resources (NVD).

Mitigation and workarounds

Fedora has released security updates to address this vulnerability in versions 38, 39, and 40 of the freeimage package. Users can apply these updates using the dnf package manager with specific advisory commands. The fixes include downstream patches specifically targeting CVE-2023-47995 (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21693HIGH8.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2026-21692HIGH8.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026
CVE-2026-21691MEDIUM6.5
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management