PrusaSlicer 2.9.7 Closes Security Holes in 3MF and G-code

A small maintenance release patches memory bugs triggered by malformed project files and hardens the Printables downloader.

FREE$34.95UpdateStar PremiumShare a link to claimDownloading a cool bracket from the internet, double-clicking the file and hoping for the best is basically the hobby of every 3D printing fan. PrusaSlicer 2.9.7 exists because a few of those files could do more than print a bracket. The team calls it a small maintenance release, and its only job is closing several security vulnerabilities.

What the patch closes

Prusa lists four fixes. One is an out-of-bounds write that could occur when a 3MF project carries a negative bed index. Another is a stack buffer overflow in the digits() and zdigits() placeholder functions that you can use in custom G-code. The downloader that pulls models from Printables received several fixes, and the libbgcode library, which reads binary G-code, was patched against a couple of potentially exploitable flaws when it loads malformed files. The team thanks a researcher who reported the problems through its responsible disclosure program.

Why you should care

None of this changes how slicing looks or feels, and there are no new profiles or printer settings in the list. The risk comes from what you open. A 3MF from a stranger, a binary G-code file from a forum or a model grabbed straight from Printables are the doors these bugs could use, and most printer owners do all three regularly.

Our verdict

Update, and do it before you open your next downloaded project. Anyone who only slices their own designs is at lower risk but loses nothing by installing a release this small. Nobody needs to hold back for new features, since this one has none.

Get it on UpdateStar

about author