PatchaPalooza

CVE-2026-40312: ImageMagick: Off-by-One in MSL decoder could result in crash

CVE-2026-40312 is a vulnerability in ImageMagick: Off-by-One in MSL decoder could result in crash, rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.5 (Medium). An attacker can exploit it by an attacker with local access, without any privileges and only if a user takes an action. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.18% probability of exploitation activity in the next 30 days, higher than 8% of all scored vulnerabilities. Microsoft released the fix on 12 November 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).

Key facts

CVE ID
CVE-2026-40312
Severity
Medium CVSS 5.5
Microsoft severity
Moderate
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-193
EPSS
0.18% (percentile 8%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
April 2026 Patch Tuesday
Product families
Open Source Software

CVSS score and vector

Microsoft scores CVE-2026-40312 at 5.5 (temporal 5.5) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

MetricValue
Attack vectorLocal
Attack complexityLow
Privileges requiredNone
User interactionRequired
ScopeUnchanged
Confidentiality impactNone
Integrity impactNone
Availability impactHigh

Affected products (1)

Open Source Software

ProductSecurity updateTypeFixed buildRestart
azl4 ImageMagick 1:7.1.1.47-10.azl4 on Azure Linux 4.0Release NotesSecurity Update1:7.1.2.32-6.azl4

NIST NVD data

NVD status
Analyzed
NVD CVSS
5.5 (MEDIUM)
NVD weakness
CWE-193
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
imagemagickbefore 7.1.2-19

References

Revision history

VersionDateDescription
1.0Information published.

Sources