Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rmagick
  4. ›
  5. CVE-2023-5349

CVE-2023-5349: memory leak flaw was found in ruby-magick

October 30, 2023 (updated January 5, 2026)

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.

References

  • access.redhat.com/security/cve/CVE-2023-5349
  • bugzilla.redhat.com/show_bug.cgi?id=2247064
  • github.com/advisories/GHSA-frgf-8jr5-j2jv
  • github.com/rmagick/rmagick
  • github.com/rmagick/rmagick/commit/02f37ca0d6c2b8fff316e0668efa690f5c90a429
  • github.com/rmagick/rmagick/commit/fec7a7e639ae565386f7615155dbcf49b957b64a
  • github.com/rmagick/rmagick/issues/1401
  • github.com/rmagick/rmagick/pull/1406
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rmagick/CVE-2023-5349.yml
  • lists.debian.org/debian-lts-announce/2023/10/msg00030.html
  • lists.debian.org/debian-lts-announce/2026/01/msg00003.html
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S3XMQ2KWPYGT447EKPENGXXHKAQ5NUWF
  • nvd.nist.gov/vuln/detail/CVE-2023-5349

Code Behaviors & Features

Detect and mitigate CVE-2023-5349 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.3.0

Fixed versions

  • 5.3.0

Solution

Upgrade to version 5.3.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-401: Missing Release of Memory after Effective Lifetime

Source file

gem/rmagick/CVE-2023-5349.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:50 +0000.