Skip to main content
CVE-2023-5349VulnerabilityPublished Updated

CVE-2023-5349: rmagick · Memory Leak

Affects rmagickSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Oct 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

AI-suggested

Organizations should proactively monitor memory usage of applications using rmagick and implement resource limits at the process or container level to prevent uncontrolled memory consumption. Applying rate limiting or input validation on image processing endpoints can reduce the risk of exploitation by limiting the volume and size of images processed. It is critical to track vendor advisories and update rmagick to patched versions as soon as they become available. In the absence of a patch, consider isolating image processing workloads in separate environments with strict memory quotas and restart policies to contain potential DoS effects. Reviewing application code for proper memory management and avoiding unnecessary image processing can also reduce exposure. Additionally, implementing robust logging and alerting on abnormal memory usage patterns will enable early detection of exploitation attempts. Network-level protections such as Web Application Firewalls (WAFs) can help block suspicious traffic targeting image processing endpoints. Finally, educating developers about secure usage of rmagick and ImageMagick can prevent inadvertent introduction of similar issues.

Description

A memory leak flaw was found in ruby-magick, an interface between Ruby and ImageMagick. This issue can lead to a denial of service (DOS) by memory exhaustion.

References

Community reviews

Loading reviews…