libmng versions through 2.0.3 have a heap-based buffer overflow vulnerability in the mng_read_ordr() function. This occurs because ORDR entry buffers are sized incorrectly, using 5-byte on-wire records instead of 8-byte in-memory entries. An attacker can craft a malicious MNG file containing MHDR, DHDR, and a multi-record ORDR chunk to trigger this overflow, potentially causing application crashes.