{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54626","published":"2026-09-17T20:16:51.970000Z","last_modified":"2026-09-24T21:25:27.050000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-122","CWE-787"],"cpes":[],"cpes_truncated":false,"vendors":["happyseafox"],"products":["happyseafox/sail"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-54626/","html_en":"/en/cve/CVE-2026-54626/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54626","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54626"},"untrusted":{"vendor_name":"HappySeaFox","product_name":"sail","desc_en":"SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. In 0.9.10 and earlier, the TGA_INDEXED_RLE path selected by image_type == 9 allocates an image buffer using the one-byte-per-pixel SAIL_PIXEL_FORMAT_BPP8_INDEXED format returned by tga_private_sail_pixel_format() in src/sail-codecs/tga/helpers.c, while sail_codec_load_frame_v8_tga() in src/sail-codecs/tga/tga.c derives a two-to-four-byte pixel_size from an attacker-controlled header bpp value from 9 through 32. Loading a crafted color-mapped run-length-encoded TGA through sail_load_from_file() or sail_load_from_memory() therefore writes attacker-controlled bytes beyond the heap pixel buffer. The pixel-count clamp added for CVE-2026-40494 does not constrain the per-pixel write width, so this issue is an incomplete fix of that vulnerability and can cause heap corruption, a reliable crash, or potential code execution. This issue is fixed in version 1.0.0.","affected":[{"untrusted_vendor":"HappySeaFox","untrusted_product":"sail","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"1fc559d76d5f6007bdf7b83c5ff8b8b5","generated":"2026-11-26T21:30:07.796783Z","es":{"untrusted_title":"Corrupción de heap en procesamiento de imágenes TGA en SAIL","untrusted_summary":"SAIL es una biblioteca multiplataforma para cargar y guardar imágenes con soporte para animación, metadatos y perfiles ICC. En versiones 0.9.10 y anteriores, el procesamiento de imágenes TGA con compresión RLE indexada permite a un atacante remoto escribir más allá del búfer de píxeles asignado mediante un archivo TGA manipulado, causando corrupción de heap, bloqueo confiable o posible ejecución de código."},"en":{"untrusted_title":"Heap corruption in TGA image processing in SAIL","untrusted_summary":"SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. In version 0.9.10 and earlier, processing of indexed RLE-compressed TGA images allows a remote attacker to write beyond the allocated pixel buffer through a crafted TGA file, causing heap corruption, reliable crash, or potential code execution."},"remediation":{"status":"fix","fixed_versions":["1.0.0"],"untrusted_action_es":"Actualiza SAIL a la versión 1.0.0 o posterior para corregir la vulnerabilidad de corrupción de heap en el procesamiento de imágenes TGA.","untrusted_action_en":"Update SAIL to version 1.0.0 or later to fix the heap corruption vulnerability in TGA image processing.","vendor_url":"https://github.com/HappySeaFox/sail/releases/tag/v1.0.0"},"reviewed":false},"references":[{"url":"https://github.com/HappySeaFox/sail/commit/fa24bceb93958ad665dbc3cf6b49a1079ab12559","tags":[]},{"url":"https://github.com/HappySeaFox/sail/releases/tag/v1.0.0","tags":[]},{"url":"https://github.com/HappySeaFox/sail/security/advisories/GHSA-744p-cqg2-m33h","tags":[]}]}}