Vulnerabilidades de HappySeaFox
CVEs publicadas que afetam produtos de HappySeaFox: 4 registro(s), com severidade, exploração e correções.
CVE-2026-40494
Crítica · 9.8
CWE-787 18/04/2026
Escrita fora dos limites no decodificador TGA do SAIL
SAIL é uma biblioteca multiplataforma para carregar e salvar imagens, com suporte a animação, metadados e perfis ICC. Antes do commit 45d48d1f2e8e0d73e80bc1fd5310cb57f4547302, o decodificador RLE do codec TGA em tga.c apresenta uma vulnerabilidade de verificação de limites assimétrica. O caminho de pacotes de execução (linha 297) limita corretamente a contagem de repetições ao espaço restante do buffer, mas o caminho de pacotes brutos (linhas 305-311) não possui verificação equivalente. Isso permite escrever até 496 bytes de dados controlados pelo atacante além do fim de um buffer na heap. O commit 45d48d1f2e8e0d73e80bc1fd5310cb57f4547302 corrige o problema.
CVE-2026-40493
Crítica · 9.8
CWE-787 18/04/2026
SAIL has heap buffer overflow in PSD decoder — bpp mismatch in LAB 16-bit mode
SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. Prior to commit c930284445ea3ff94451ccd7a57c999eca3bc979, the PSD codec computes bytes-per-pixel (`bpp`) from raw header fields `channels * depth`, but the pixel buffer is allocated based on the resolved pixel format. For LAB mode with `channels=3, depth=16`, `bpp = (3*16+7)/8 = 6`, but the format `BPP40_CIE_LAB` allocates only 5 bytes per pixel. Every pixel write overshoots, causing a deterministic heap buffer overflow on every row. Commit c930284445ea3ff94451ccd7a57c999eca3bc979 contains a patch.
CVE-2026-40492
Crítica · 9.8
CWE-787 18/04/2026
Escrita fora dos limites no codec XWD da biblioteca SAIL (CVE-2026-40492)
SAIL é uma biblioteca multiplataforma para carregar e salvar imagens, com suporte a animação, metadados e perfis ICC. Antes do commit 36aa5c7ec8a2bb35f6fb867a1177a6f141156b02, o codec XWD resolve o formato de pixel com base em `pixmap_depth`, mas o código de troca de bytes usa `bits_per_pixel` de forma independente. Quando `pixmap_depth=8` (BPP8_INDEXED, buffer de 1 byte por pixel), mas `bits_per_pixel=32`, o laço de troca de bytes acessa a memória como `uint32_t*`, lendo/escrevendo 4x o tamanho do buffer alocado. Esta é uma vulnerabilidade diferente da GHSA-3g38-x2pj-mv55 (CVE-2026-27168) reportada anteriormente, que tratava da validação de `bytes_per_line`. O commit 36aa5c7ec8a2bb35f6fb867a1177a6f141156b02 contém um patch.
CVE-2026-27168
Crítica · 9.8
CWE-122 20/02/2026
SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd
SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. All versions are vulnerable to Heap-based Buffer Overflow through the XWD parser's use of the bytes_per_line value. The value os read directly from the file as the read size in io->strict_read(), and is never compared to the actual size of the destination buffer. An attacker can provide an XWD file with an arbitrarily large bytes_per_line, causing a massive write operation beyond the buffer heap allocated for the image pixels. The issue did not have a fix at the time of publication.