Draw while calling getdrawinfo()

Summary

CVECVE-2023-5349
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-30 21:15:07 UTC
Updated2026-11-29 03:17:00 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 3.3 LOW from [email protected]

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Problem Types: CWE-401 | CWE-401 Missing Release of Memory after Effective Lifetime


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary3.3LOWCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
3.1[email protected]Secondary5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
3.1CNACVSS5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 37 All All All
Application Rmagick Rmagick All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Rmagick Not specified Not specified
CNA Red Hat Red Hat 3scale API Management Platform 2 Not specified Not specified
CNA Fedora Fedora Not specified Not specified
ADP Rmagick Rmagick affected 5.2.0 custom Not specified
ADP Fedoraproject Fedora affected 37 Not specified

References

ReferenceSourceLinkTags
[SECURITY] Fedora 37 Update: rubygem-rmagick-5.2.0-2.fc37 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Huge memory consumption with latest imagemagick@6 update · Issue #1401 · rmagick/rmagick · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Exploit, Issue Tracking, Third Party Advisory
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
lists.debian.org/debian-lts-announce/2026/11/msg00076.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
2247064 – (CVE-2023-5349) CVE-2023-5349 rubygem-rmagick: Memory leak by Magick::Draw while calling GetDrawInfo() af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
lists.debian.org/debian-lts-announce/2026/01/msg00003.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
Fix memory leak in `Magick::Draw` for recentry ImageMagick 6 by removing unnecessary `GetDrawInfo()` calling by Watson1978 · Pull Request #1406 · rmagick/rmagick · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
lists.debian.org/debian-lts-announce/2023/10/msg00030.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-08-13T00:00:00.000ZReported to Red Hat.
CNA2023-07-07T00:00:00.000ZMade public.

Legacy QID Mappings

  • 284721 Fedora Security Update for rubygem (FEDORA-2023-8dd1a1a2e6)
  • 6000258 Debian Security Update for ruby-rmagick (DLA 3625-1)
  • 995798 Rubygems (Rubygems) Security Update for rmagick (GHSA-frgf-8jr5-j2jv)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report