{"id":"CVE-2026-120431","kind":"vulnerability","aliases":["CVE-2026-120431"],"related":[],"title":"Netpbm: crafted SGI image file overflows heap buffer, risking code execution","description":"Netpbm before 10.86.51, 11.x before 11.02.29, and 11.03 before 11.15.07 contains a heap-based buffer overflow in sgitopnm's readChannels() function when processing RLE-compressed SGI images. Attackers can supply crafted SGI files with oversized offset table lengths to write controlled data past the heap buffer, causing crashes or potential code execution.","summary":"Netpbm's sgitopnm tool has a heap buffer overflow when it reads RLE-compressed SGI images with oversized offset tables. An attacker who supplies a crafted SGI file can crash the program or potentially run code.","severity":"high","cvss":8.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["image-processing","linux","netpbm","package"],"not_affected_if":["no-sgi-conversion","trusted-input-only"],"how_to_check":"- Check the installed Netpbm version with `pnmcat --version` or your package manager's query for `netpbm`.\n- Look for the `sgitopnm` binary or a service that converts uploaded SGI images with it.","fix":"- Netpbm before `10.86.51` is affected; upgrade to `10.86.51` or later in that line.\n- Netpbm `11.x` before `11.02.29` is affected; upgrade to `11.02.29` or later.\n- Netpbm `11.03` before `11.15.07` is affected; upgrade to `11.15.07` or later.","status":"open","published_at":"2026-11-02T15:17:24+00:00","first_seen_at":"2026-11-02T15:24:01+00:00","triaged_at":"2026-11-02T15:26:02+00:00","updated_at":"2026-11-02T15:26:02+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-02T15:26:02Z","model":"claude-haiku-5-5","output":{"fix":"- Netpbm before `10.86.51` is affected; upgrade to `10.86.51` or later in that line.\n- Netpbm `11.x` before `11.02.29` is affected; upgrade to `11.02.29` or later.\n- Netpbm `11.03` before `11.15.07` is affected; upgrade to `11.15.07` or later.","reach":"unknown","title":"Netpbm: crafted SGI image file overflows heap buffer, risking code execution","impact":"high","summary":"Netpbm's sgitopnm tool has a heap buffer overflow when it reads RLE-compressed SGI images with oversized offset tables. An attacker who supplies a crafted SGI file can crash the program or potentially run code.","audience":"developers","category":"package","nicknames":[],"who_cares":["netpbm","image-processing","linux"],"confidence":0.6,"fix_status":"available","needs_auth":"unknown","worst_case":"crafted image crashes process or runs attacker code","analyst_note":"Confirm the exact fixed version ranges and whether a public exploit exists; check the vulncheck advisory for details on the trigger path.","how_to_check":"- Check the installed Netpbm version with `pnmcat --version` or your package manager's query for `netpbm`.\n- Look for the `sgitopnm` binary or a service that converts uploaded SGI images with it.","plain_action":"","needs_analyst":true,"not_affected_if":["trusted-input-only","no-sgi-conversion"],"who_is_affected":"Exposure comes from running sgitopnm on SGI files that may be attacker-supplied, such as image conversion pipelines or upload handlers. Systems that only convert trusted local images are lower risk. unknown whether the sources describe default configurations that invoke the vulnerable path.","user_interaction":"unknown","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000747,"input_tokens":4193,"output_tokens":655,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-120431':14A,17A '-2026':13A,16A '10.86.51':63C '11':64C '11.02.29':67C '11.03':69C '11.15.07':71C 'attack':46B,91C 'base':76C 'buffer':8A,31B,77C,109C 'caus':110C 'code':10A,60B,114C 'compress':38B,88C 'contain':72C 'control':104C 'craft':2A,50B,94C 'crash':54B,111C 'cve':12A,15A 'data':105C 'execut':11A,115C 'file':5A,52B,96C 'function':83C 'heap':7A,30B,75C,108C 'heap-bas':74C 'imag':4A,19B,40B,90C 'image-process':18B 'length':101C 'linux':21B 'netpbm':1A,22B,24B,61C 'offset':43B,99C 'overflow':6A,32B,78C 'overs':42B,98C 'packag':23B 'past':106C 'potenti':58B,113C 'process':20B,85C 'program':56B 'read':35B 'readchannel':82C 'risk':9A 'rle':37B,87C 'rle-compress':36B,86C 'run':59B 'sgi':3A,39B,51B,89C,95C 'sgitopnm':26B,80C 'suppli':48B,93C 'tabl':44B,100C 'tool':27B 'write':103C 'x':65C","nicknames":[],"mitigations":[],"who_affected":"Exposure comes from running sgitopnm on SGI files that may be attacker-supplied, such as image conversion pipelines or upload handlers. Systems that only convert trusted local images are lower risk. unknown whether the sources describe default configurations that invoke the vulnerable path.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["high","imageprocessing","linux","netpbm","package"],"first_public_at":"2026-11-02T15:17:24+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-120431","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120431","severity":null,"published_at":"2026-11-02T15:17:24+00:00","modified_at":"2026-11-02T15:17:24+00:00","first_seen_at":"2026-11-02T15:24:01+00:00","fetched_at":"2026-11-02T15:24:01+00:00","note":null}],"documents":[{"id":52453,"url":"https://www.vulncheck.com/advisories/netpbm-before-10.86.51-11.02.29-and-11.15.07-sgitopnm-heap-buffer-overflow","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}