Описание
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 jbg_dec_merge_planes() overflows the undersized buffer, causing crashes or potentially code execution.
A flaw was found in Netpbm's jbigtopnm conversion utility. An integer overflow occurs when calculating output buffer dimensions for multi-plane JBIG (Joint Bi-level Image Experts Group) images with large header sizes, resulting in an undersized memory allocation. By convincing a user to process a specially crafted JBIG file, an attacker could trigger a heap-based buffer overflow, potentially leading to arbitrary code execution or a Denial of Service (DoS) crash.
Отчет
This vulnerability is rated Important rather than Critical because successful exploitation requires local user interaction to process a maliciously crafted JBIG file, even though it can lead to arbitrary code execution. Within Red Hat Enterprise Linux, the jbigtopnm utility is typically invoked as a standalone command-line converter or downstream image processing filter rather than a persistent, privileged network daemon, which confines potential compromise to the privileges of the executing process.
Меры по смягчению последствий
--- CME Mitigation Guidance (2026-11-04) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to enforce bounds checking on image dimensions during decompression buffer allocation in jbigtopnm to prevent arithmetic overflow: upgrade to Netpbm 10.86.51, 11.02.30, 11.15.08 (or the fixed Netpbm builds), which validate image dimensions and prevent arithmetic overflow when computing decompression buffer size, closing all 2 injection vectors (crafted multi-plane JBIG file with oversized header dimensions, oversized JBIG input stream causing arithmetic overflow during decompression buffer allocation). Until patched, this is a concern on Linux systems running vulnerable Netpbm installations where users or workflows process untrusted JBIG files, so restrict and avoid processing or converting untrusted JBIG files using jbigtopnm across automated pipelines and user environments. As a compensating measure, enable ASLR to randomize heap and library addresses, compile with Full RELRO and PIE to make the Global Offset Table read-only and randomize code addresses, enforce Control Flow Integrity to restrict indirect call and jump targets, run SELinux in enforcing mode to confine the executing process to least-privilege domains, apply SELinux confined user mappings to restrict user session capabilities, and use Landlock LSM filesystem sandboxing to restrict filesystem access for the image conversion process. These controls limit blast radius and contain exploitation, but they do not fix the underlying integer overflow defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-301 SELinux (Enforcing Mode) (medium)
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | netpbm | Affected | ||
| Red Hat Enterprise Linux 6 | netpbm | Will not fix | ||
| Red Hat Enterprise Linux 7 | netpbm | Affected | ||
| Red Hat Enterprise Linux 8 | netpbm | Affected | ||
| Red Hat Enterprise Linux 9 | netpbm | Not affected | ||
| Red Hat Enterprise Linux 10.2 Extended Update Support | netpbm | Fixed | RHSA-2026:100476 | 19.11.2026 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
7.8 High
CVSS3
Связанные уязвимости
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 jbg_dec_merge_planes() overflows the undersized buffer, causing crashes or potentially code execution.
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 jbg_dec_merge_planes() overflows the undersized buffer, causing crashes or potentially code execution.
Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.0 ...
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 jbg_dec_merge_planes() overflows the undersized buffer, causing crashes or potentially code execution.
7.8 High
CVSS3