CVE Explorer
CVE-2026-40310
ImageMagick is free and open-source software used for editing and manipulating digital images. Versions below both 7.1.2-19 and 6.9.13-44, contain a heap out-of-bounds write in the JP2 encoder with when a user specifies an invalid sampling index. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"ImageMagick","vendor":"ImageMagick","versions":[{"status":"affected","version":"< 7.1.2-19"},{"status":"affected","version":"< 6.9.13-44"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/ImageMagick/ImageMagick/commit/3d653bea2df085c728a1c8f775808e1e9249dff9","tags":["x_refsource_MISC"],"url":"https://github.com/ImageMagick/ImageMagick/commit/3d653bea2df085c728a1c8f775808e1e9249dff9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/references/1
{"name":"https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19","tags":["x_refsource_MISC"],"url":"https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/references/2
{"name":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pwg5-6jfc-crvh","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pwg5-6jfc-crvh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/references/0
{"name":"https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0","tags":["x_refsource_MISC"],"url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:240fcfd7180e7d84e1a16af1dcc95129d55a90afd060f863a37f72efc5cd3594 · sha256:7be287539abf92b9… · /containers/cna/references/3
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.