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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
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.
- Record
CVE-2023-5349- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-401
- Updated
- 2026-11-02
EUVDEUVD-2023-2732
5.3
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.
- Record
EUVD-2023-2732- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-frgf-8jr5-j2jv
5.3
memory leak flaw was found in ruby-magick
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.
- Record
GHSA-frgf-8jr5-j2jv- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400, CWE-401
- Updated
- 2026-11-02
NVD
5.3
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.
- Record
CVE-2023-5349- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-401
- Updated
- 2026-11-02
OSV
5.3
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.
- Record
CVE-2023-5349- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-401
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-5349
3.3
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.
- Record
DEBIAN-CVE-2023-5349- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVGHSA-frgf-8jr5-j2jv
5.3
memory leak flaw was found in ruby-magick
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.
- Record
GHSA-frgf-8jr5-j2jv- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400, CWE-401
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-5349
5.3
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.
- Record
UBUNTU-CVE-2023-5349- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUSN-6960-1 No score
ruby-rmagick vulnerability
Nick Browning discovered that RMagick incorrectly handled memory under certain operations. An attacker could possibly use this issue to cause a denial of service through memory exhaustion.
- Record
USN-6960-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rmagickRubyGems |
before 5.3.0 | 5.3.0 |
ruby-rmagickDebian:12 |
All versions, plus listed versions 4.2.3-25.3.0-15.3.0-26.0.1-16.0.1-26.0.1-37.0.4-17.1.6-1 |
None known |
ruby-rmagickDebian:13 |
before 5.3.0-1 | 5.3.0-1 |
ruby-rmagickDebian:14 |
before 5.3.0-1 | 5.3.0-1 |
ruby-rmagickDebian:10 |
before 2.16.0-6+deb10u1, plus listed versions 2.16.0-6 |
2.16.0-6+deb10u1 |
ruby-rmagickDebian:11 |
before 2.16.0-7+deb11u1, plus listed versions 2.16.0-7 |
2.16.0-7+deb11u1 |
rmagickRubyGems |
before 5.3.0, plus listed versions 1.10.01.10.11.11.01.11.11.12.0 Show 45 moreShow less1.13.01.14.01.14.11.15.01.15.11.15.101.15.111.15.121.15.131.15.141.15.151.15.161.15.171.15.21.15.31.15.41.15.51.15.61.15.71.15.81.15.91.7.11.7.21.7.31.7.41.8.01.8.11.8.21.8.31.9.01.9.11.9.21.9.32.0.02.1.02.10.02.11.02.11.12.12.02.12.12.12.22.13.12.13.22.13.32.13.3.rc1 |
5.3.0 |
ruby-rmagickUbuntu:20.04:LTS |
before 2.16.0-6ubuntu0.1, plus listed versions 2.16.0-62.16.0-6build1 |
2.16.0-6ubuntu0.1 |
ruby-rmagickUbuntu:Pro:22.04:LTS |
before 4.2.3-2ubuntu0.22.04.1~esm2, plus listed versions 2.16.0-74.2.3-24.2.3-2build14.2.3-2build2 |
4.2.3-2ubuntu0.22.04.1~esm2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-5349 is a medium vulnerability (CVSS 5.3) in Fedora, published October 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.67%, the 52nd percentile. Fixed in rmagick 5.3.0.
References
access.redhat.com/security/cve/CVE-2023-5349
bugzilla.redhat.com/show_bug.cgi?id=2247064
github.com/rmagick/rmagick/issues/1401
github.com/rmagick/rmagick/pull/1406
lists.fedoraproject.org/archives/list/[email protected]/message/S3XMQ2KWPYGT447EKPENGXXHKAQ5NUWF
lists.debian.org/debian-lts-announce/2023/10/msg00030.html
Show 14 moreShow less
lists.debian.org/debian-lts-announce/2026/01/msg00003.html
nvd.nist.gov/vuln/detail/CVE-2023-5349
github.com/rmagick/rmagick/commit/02f37ca0d6c2b8fff316e0668efa690f5c90a429
github.com/rmagick/rmagick/commit/fec7a7e639ae565386f7615155dbcf49b957b64a
github.com/advisories/GHSA-frgf-8jr5-j2jv
github.com/rubysec/ruby-advisory-db/blob/master/gems/rmagick/CVE-2023-5349.yml
catalog.redhat.com/software/containers
packages.fedoraproject.org
github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5349.json
security-tracker.debian.org/tracker/CVE-2023-5349
github.com/rmagick/rmagick
ubuntu.com/security/CVE-2023-5349
cve.org/CVERecord?id=CVE-2023-5349
ubuntu.com/security/notices/USN-6960-1
Left out here: 43 versions. The JSON record has them.