REDHAT-BUG-2565322: Buffer Overflow
Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08 contains an integer overflow in jbigtopnm that causes heap buffer overflow when computing output buffer size. Attackers can supply a crafted multi-plane JBIG file with large header dimensions so jbgdecmergeplanes() overflows the undersized buffer, causing crashes or potentially code execution.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Systems are exposed when they use jbigtopnm from an affected Netpbm release to process JBIG files supplied by an attacker. The malicious input must be a crafted multi-plane JBIG file with large header dimensions.
What could an attacker achieve?
Successful exploitation can cause a crash through a heap buffer overflow. The issue may also allow code execution, as the overflow occurs when jbg_dec_merge_planes() operates on an undersized output buffer.
How can I determine whether my installation is affected?
Affected versions are Netpbm releases before 10.86.51, 11.x before 11.02.30, and 11.03 releases before 11.15.08. Compare the installed Netpbm version against the applicable fixed version.