# CVE-2025-32460: Memory corruption in GraphicsMagick

> A heap-based buffer over-read in GraphicsMagick's JXL decoder allows attackers to cause denial of service or disclose sensitive memory contents.

- **Severity:** Medium 4.0 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 9 Apr 2025
- **Updated:** 9 Apr 2025
- **Also known as:** DEBIAN-CVE-2025-32460, GHSA-hf7q-qx98-4hm7, JLSEC-2026-495, MGASA-2025-0148, MINI-54pj-wgjh-qmqf, ROOT-OS-ALPINE-322-CVE-2025-32460, ROOT-OS-ALPINE-324-CVE-2025-32460, SUSE-SU-2025:1349-1, UBUNTU-CVE-2025-32460, openSUSE-SU-2025:14993-1

## What is CVE-2025-32460?

CVE-2025-32460 is a medium-severity memory corruption vulnerability in Graphicsmagick Graphicsmagick, published on 9 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

GraphicsMagick before 8e56520 has a heap-based buffer over-read in ReadJXLImage in coders/jxl.c, related to an ImportViewPixelArea call.

Weakness: CWE-125 (Out-of-bounds Read)

## Which versions are affected by CVE-2025-32460?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `GraphicsMagick` | SUSE:Linux Enterprise Module for Package Hub 15 SP6 | All versions | 1.3.42-150600.3.7.1 |
| `GraphicsMagick` | openSUSE:Leap 15.6 | All versions | 1.3.42-150600.3.7.1 |
| `GraphicsMagick` | openSUSE:Tumbleweed | All versions | 1.3.45-3.1 |

Products: Graphicsmagick Graphicsmagick.

## How do I fix CVE-2025-32460?

Apply the vendor's patch.

## Is CVE-2025-32460 being exploited?

There is no known exploitation of CVE-2025-32460 in the wild and no public exploit code.

## Other vulnerabilities in Graphicsmagick Graphicsmagick

- [CVE-2008-6071](https://insights.sbomify.com/CVE-2008-6071/): Memory corruption in n/a (critical 10.0)
- [CVE-2019-11005](https://insights.sbomify.com/CVE-2019-11005/): Memory corruption in n/a (critical 9.8)
- [CVE-2017-11636](https://insights.sbomify.com/CVE-2017-11636/): Memory corruption in n/a (critical 9.8)
- [CVE-2017-11637](https://insights.sbomify.com/CVE-2017-11637/): Null dereference in n/a (critical 9.8)
- [CVE-2017-11641](https://insights.sbomify.com/CVE-2017-11641/): Denial of service in n/a (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-32460 and fix it if it is affected.

What it is: CVE-2025-32460 is a medium-severity memory corruption vulnerability in Graphicsmagick Graphicsmagick, published on 9 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2025-32460 in the wild and no public exploit code.

Affected product: Graphicsmagick Graphicsmagick. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-32460/ (Markdown: https://insights.sbomify.com/CVE-2025-32460/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-32460
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-32460
- OSV: https://osv.dev/vulnerability/CVE-2025-32460

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-32460/
Summaries are generated and may contain mistakes; the official description above is the record.
