Home / rmagick / rmagick / CVE-2023-5349
CVE-2023-5349: is it exploited, and which versions of rmagick are affected and fixed?
CVE-2023-5349 is a memory leak vulnerability in rmagick. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: rmagick before 5.3.0 (GitHub advisory GHSA-frgf-8jr5-j2jv). Fixed in 5.3.0 (GitHub advisory GHSA-frgf-8jr5-j2jv). Severity: Medium (5.3, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 29, 2026, 02:20 UTC and NVD November 29, 2026, 04:09 UTC.
What is CVE-2023-5349?
Draw while calling getdrawinfo()
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.
From the CVE record by redhat, last updated November 29, 2026, 02:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| rmagick | all versions (the record names no range) | ||
| Red Hat | Red Hat 3scale API Management Platform 2 3scale-amp-system-container | not stated | |
| Fedora | Fedora rubygem-rmagick | all versions (the record names no range) |
As the CVE record by redhat states it, last updated November 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rmagick | < 5.3.0 | 5.3.0 | GHSA-frgf-8jr5-j2jv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 29, 2026. Summary: memory leak flaw was found in ruby-magick.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rmagick | rmagick | before 5.3.0 | application |
| fedoraproject | fedora | 37 | operating system |
NVD analysis (status Modified), last modified November 29, 2026, 03:17 UTC.
How severe is CVE-2023-5349?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | redhat |
| Low 3.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-5349 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, August 29, 2024)
- EPSS
- 0.67% probability of exploitation activity in the next 30 days, percentile 53.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://access.redhat.com/security/cve/CVE-2023-5349 vdb-entry, x_refsource_REDHAT
- RHBZ#2247064 issue-tracking, x_refsource_REDHAT
- https://github.com/rmagick/rmagick/issues/1401
- https://github.com/rmagick/rmagick/pull/1406
- https://lists.fedoraproject.org/archives/list/[email protected]/message/S3XMQ2KWPYGT447EKPENGXXHKAQ5NUWF/
- https://lists.debian.org/debian-lts-announce/2023/10/msg00030.html
- https://lists.debian.org/debian-lts-announce/2026/01/msg00003.html
- https://lists.debian.org/debian-lts-announce/2026/11/msg00076.html
When was it published, and where is the official record?
- Reserved
- October 3, 2023
- Published
- October 30, 2023, 20:27 UTC
- CVE record updated
- November 29, 2026, 02:06 UTC by redhat
- NVD
- Modified, last modified November 29, 2026, 03:17 UTC
- Last checked
- CVE list November 29, 2026, 02:20 UTC; NVD November 29, 2026, 04:09 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-5349
Is CVE-2023-5349 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.67% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of rmagick are affected by CVE-2023-5349?
rmagick before 5.3.0, per the GitHub advisory GHSA-frgf-8jr5-j2jv. The tables above give every range the sources list.
Which version fixes CVE-2023-5349?
5.3.0, per the GitHub advisory GHSA-frgf-8jr5-j2jv. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-5349?
Medium (5.3, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2023-5349?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.