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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | rmagick | — | — |
| Red Hat | Red Hat 3scale API Management Platform 2 | — | — |
| Fedora | Fedora | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-rmagick | 5.3.0-1 | — |
| Debian 13 | ruby-rmagick | 5.3.0-1 | — |
| Debian 12 | ruby-rmagick | No fix yet | — |
| Debian 11 | ruby-rmagick | 2.16.0-7+deb11u1 | DLA-4433-1 |
| Debian 10 | ruby-rmagick | 2.16.0-6+deb10u1 | DLA-3625-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ruby-rmagick | 2.16.0-6ubuntu0.1 | USN-6960-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | ruby-rmagick | 4.2.3-2ubuntu0.22.04.1~esm2 | USN-6960-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | rmagick | < 5.3.0 | 5.3.0 | GHSA-frgf-8jr5-j2jv |
Advisories 3
- USN-6960-1 ruby-rmagick vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3625-1 ruby-rmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4433-1 ruby-rmagick - security update Debian Security (DSA / DLA) · Jan 6, 2026
References
- https://access.redhat.com/security/cve/CVE-2023-5349 vdb-entry
- RHBZ#2247064 issue-tracking
- https://github.com/rmagick/rmagick/issues/1401
- https://github.com/rmagick/rmagick/pull/1406
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S3XMQ2KWPYGT447EKPENGXXHKAQ5NUWF/