Draw while calling getdrawinfo()
Summary
| CVE | CVE-2023-5349 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-10-30 21:15:07 UTC |
| Updated | 2026-11-29 03:17:00 UTC |
| 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. |
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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 3.3 | LOW | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| 3.1 | [email protected] | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | CNA | CVSS | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Fedoraproject | Fedora | 37 | All | All | All |
| Application | Rmagick | Rmagick | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| [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 |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-08-13T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-07-07T00:00:00.000Z | Made public. |