Cyber Risks · Trail of Bits Blog

How I gave ManticoreUI a makeover

Summary: A Trail of Bits intern added features to ManticoreUI, the Binary Ninja plug-in for the Manticore symbolic execution engine, including an emulate_until option that uses the Unicorn emulator to speed execution, shared library support, and a GDB plugin for GEF that dumps debugger state as a Manticore state object. Using the GDB state dump on the DICOM Toolkit (DCMTK), the intern set width and height to symbolic values and solved for an integer overflow in I2DBitmapSource::readBitmapData, producing a crafted BMP image that crashed the binary in GDB; vendors patched it within a few hours of being informed.

Why it matters: The bug landed in DCMTK, a library set used in software handling medical imaging, and it was found by starting symbolic execution from a GDB breakpoint rather than from the program's entry point - a technique that sidesteps the state explosion and initialization problems that keep symbolic execution out of complex targets.

Read the original at Trail of Bits Blog ↗

Topics
Supply Chain & AppSec
Related
Kitesurf is now open source Cyber Risks · Nov 13, 2026