Loading...
Skip to main content

CVE-2026-33905

MEDIUM

ImageMagick has an out-of-bounds read in sample operation

Published April 14, 2026Updated April 21, 2026Source: osv

Summary

The -sample operation has an out of bounds read when an specific offset is set through the `sample:offset` define that could lead to an out of bounds read.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Magick.NET-Q8-arm64 to 14.12.0 or later
dotnet add package Magick.NET-Q8-arm64 --version 14.12.0
NuGet
Update Magick.NET-Q16-OpenMP-x64 to 14.12.0 or later
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.12.0
NuGet
Update Magick.NET-Q16-OpenMP-arm64 to 14.12.0 or later
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.12.0
NuGet
Update Magick.NET-Q8-OpenMP-x64 to 14.12.0 or later
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.12.0
NuGet
Update Magick.NET-Q8-x64 to 14.12.0 or later
dotnet add package Magick.NET-Q8-x64 --version 14.12.0
NuGet
Update Magick.NET-Q8-OpenMP-arm64 to 14.12.0 or later
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.12.0
NuGet
Update Magick.NET-Q16-x64 to 14.12.0 or later
dotnet add package Magick.NET-Q16-x64 --version 14.12.0
NuGet
Update Magick.NET-Q16-HDRI-AnyCPU to 14.12.0 or later
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.12.0
NuGet
Update Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.12.0 or later
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.12.0
NuGet
Update Magick.NET-Q16-arm64 to 14.12.0 or later
dotnet add package Magick.NET-Q16-arm64 --version 14.12.0
NuGet
Update Magick.NET-Q16-HDRI-x86 to 14.12.0 or later
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.12.0
NuGet
Update Magick.NET-Q16-x86 to 14.12.0 or later
dotnet add package Magick.NET-Q16-x86 --version 14.12.0
NuGet
Update Magick.NET-Q16-AnyCPU to 14.12.0 or later
dotnet add package Magick.NET-Q16-AnyCPU --version 14.12.0
NuGet
Update Magick.NET-Q8-AnyCPU to 14.12.0 or later
dotnet add package Magick.NET-Q8-AnyCPU --version 14.12.0
NuGet
Update Magick.NET-Q16-HDRI-arm64 to 14.12.0 or later
dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.12.0
NuGet
Update Magick.NET-Q8-x86 to 14.12.0 or later
dotnet add package Magick.NET-Q8-x86 --version 14.12.0
NuGet
Update Magick.NET-Q16-HDRI-x64 to 14.12.0 or later
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.12.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (17)

PackageEcosystemAffectedFixed In
Magick.NET-Q8-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q16-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more)14.12.0
Magick.NET-Q16-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q8-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more)14.12.0
Magick.NET-Q8-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more)14.12.0
Magick.NET-Q8-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q16-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more)14.12.0
Magick.NET-Q16-HDRI-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more)14.12.0
Magick.NET-Q16-HDRI-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q16-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q16-HDRI-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more)14.12.0
Magick.NET-Q16-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more)14.12.0
Magick.NET-Q16-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more)14.12.0
Magick.NET-Q8-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more)14.12.0
Magick.NET-Q16-HDRI-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q8-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more)14.12.0
Magick.NET-Q16-HDRI-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more)14.12.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-125
    Out-of-bounds ReadMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Frequently Asked Questions

What is CVE-2026-33905?
ImageMagick has an out-of-bounds read in sample operation This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.5/10).
How do I check if my project is affected by CVE-2026-33905?
CVE-2026-33905 affects Magick.NET-Q8-arm64, Magick.NET-Q16-OpenMP-x64 and Magick.NET-Q16-OpenMP-arm64 (and 14 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33905 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.5

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-pcvx-ph33-r5vv

Related CVEs

  • CVE-2026-25968
    HIGH

    ImageMagick: MSL attribute stack buffer overflow leads to out of bounds write.

  • CVE-2026-55628
    MEDIUM

    ImageMagick: Policy Bypass in concatenate operation due to missing checks

  • CVE-2026-33536
    MEDIUM

    ImageMagick has an Out-of-bounds Write via InterpretImageFilename

  • CVE-2026-25637
    MEDIUM

    ImageMagick: Possible memory leak in ASHLAR encoder

  • CVE-2026-53466
    MEDIUM

    ImageMagick: Heap Buffer Over-Read in XCF decoder due to integer conversion overflow

  • CVE-2026-45359
    MEDIUM

    ImageMagick: Out-of-Bounds Read in connected components when the user supplies an invalid keep-top define

  • CVE-2026-56373
    LOW

    mageMagick has a possible use-after-free write in its PDB decoder

  • CVE-2026-56370
    LOW

    ImageMagick has out-of-bounds access in ConnectedComponentsImage() via CLI-controlled connected-components:* artifacts

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies