Affected versions
Ubuntu16.04:LTS/libmng
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/libmng
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/libmng
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/libmng
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/libmng
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/libmng
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/libmng
- Affected versions
- *
- Fixed version
- Not reported
Description
libmng through 2.0.3 contains a heap-based buffer overflow vulnerability in mng_read_ordr() that allows attackers to corrupt heap memory because ORDR entry buffers are sized by 5-byte on-wire records instead of 8-byte in-memory entries. Attackers can supply a crafted MNG file with MHDR, DHDR and a multi-record ORDR chunk to applications calling mng_read or mng_readdisplay, writing attacker-controlled data past the allocation and crashing the application.

