Skip to content
Fencer Vulns
medium 5.3

CVE-2023-5349 json

Draw while calling getdrawinfo()

published 2023-10-30 3 y ago modified 2026-06-17 4 mo ago also GHSA-frgf-8jr5-j2jv , EUVD-2023-2732

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 52%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems rmagick 5.3.0
  • rmagick rmagick 5.2.0
  • ruby-rmagick Debian 14, Debian 13 5.3.0-1

debian advisories DEBIAN-CVE-2023-5349

  • ruby-rmagick Ubuntu 20.04 LTS 2.16.0-6ubuntu0.1
  • ruby-rmagick Ubuntu Pro 22.04 LTS 4.2.3-2ubuntu0.22.04.1~esm2

ubuntu advisories UBUNTU-CVE-2023-5349

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-5349 updated cvss 5.3

rubygem-rmagick: Memory leak by Magick::Draw while calling GetDrawInfo()

  • Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/rmagick/rmagick/issues/1401 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 3.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
rubygems rmagick
<5.3.0
5.3.0

Affected products

  • n/a rmagick
  • Red Hat Red Hat 3scale API Management Platform 2
  • Fedora Fedora
  • rmagick rmagick
  • fedoraproject fedora

Classification

Weakness
  • CWE-401 Missing Release of Memory after Effective Lifetime
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.