How to fix the "Magick" 14.7.0 bug in source build engines in UE5.6.1

Never dealt with this type of issue before. Putting a short guide here for anyone else who Ctrl+F’s their way here or from google.

Issue:
UE5.6.1 seems to have an old version of “Magick” which is one of many dependencies used in the engine source code. Specifically here, for some automation stuff. It has a known vulnerability and therefore when trying to package and compile, users may get stops and errors.

Solution:
Update the source code to use the latest stable version without vulnerabilities.

  • Open UE5 solution, click the Manage NuGeT Packages in the orange banner
  • Select the checkbox show vulnerable only on the left, select Magick
  • Scroll on the right and select the boxes only by the lines where it has the old version
    • Select all 3 boxes
  • Below the box selection, change the dropdown from 14.7.0 to Latest Stable (14.8.2) in the Version
    • Click the Install Button to the right
  • Click ok in the following prompts, close with saving
  • Re-open the sln file. Do a full build and confirm no errors

1 Like