# CVE-2023-5349: ruby-rmagick: A memory leak flaw was found in ruby-magick, an interface between Ruby and ImageMagick

CVE-2023-5349 is fixed in ruby-rmagick on 1 platform, first by ruby-rmagick 2.16.0-6ubuntu0.1, released October 30, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-5349
- Priority: Routine
- CVSS: 3.3 (Medium)
- EPSS: 0.0067
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 30, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ruby-rmagick Debian 11.6 (bullseye) | 2.16.0-7+deb11u1 | [DLA-4433-1](https://patchblox.com/security/data/fix/linux/dla-4433-1.md) | Jan 6, 2026 |
| Linux | ruby-rmagick Debian 13.5 (trixie) | 5.3.0-1 | [DEBIAN-CVE-2023-5349](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5349.md) | Oct 30, 2023 |
| Linux | ruby-rmagick Debian 14 | 5.3.0-1 | [DEBIAN-CVE-2023-5349](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5349.md) | Oct 30, 2023 |
| Linux | ruby-rmagick Ubuntu 20.04 LTS (focal) | 2.16.0-6ubuntu0.1 | [ruby-rmagick 2.16.0-6ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ruby-rmagick-2.16.0-6ubuntu0.1.md) | Oct 30, 2023 |
| Linux | ruby-rmagick Ubuntu 22.04.1 LTS (jammy) | 4.2.3-2ubuntu0.22.04.1~esm2 | [ruby-rmagick 4.2.3-2ubuntu0.22.04.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ruby-rmagick-4.2.3-2ubuntu0.22.04.1-esm2.md) | Oct 30, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
