Skip to content
OpenAdvisories

Package · Debian

libstb

52 known vulnerabilities.

9 results · Clear filters · Feed

  • High 8.2

    stb_vorbis through 1.22 heap buffer overflow via codebook multiplicands

    stb_vorbis through 1.22 contains a heap buffer overflow in start_decoder() where the codebook multiplicands allocation size is truncated from size_t to int. Attackers can craft a malicious Ogg Vorbis file with large entries and dimensions values to trigger ou…

  • High 7.1

    The nothings stb TrueType library contains a heap buffer overflow vulnerability

    A heap-buffer-overflow vulnerability exists in the nothings stb TrueType library, up to version 1.26, that is used for parsing TrueType font files. The vulnerability exists in the stbtt__GetGlyphShapeTT() function within the nothings stb_truetype.h library wh…

  • High 7.3

    Out of bounds heap buffer write in stb_vorbis

    stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory write past an allocated heap buffer in `start_decoder`. The root cause is a potential integer overflow in `sizeof(char*) * (f->comment_list_len…

  • High 7.3

    Attempt to free an uninitialized memory pointer in vorbis_deinit in stb_vorbis

    stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory allocation failure in `start_decoder`. In that case the function returns early, but some of the pointers in `f->comment_list` are left initiali…

  • High 7.3

    Heap buffer out of bounds write in start_decoder in stb_vorbis

    stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f->vendor[len] = (char)'\0';`. The root cause is that if `len` read in `start_decoder` is a negative number and `setup_malloc`…

  • High 7.3

    Multi-byte write heap buffer overflow in start_decoder in stb_vorbis

    stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f->vendor[i] = get8_packet(f);`. The root cause is an integer overflow in `setup_malloc`. A sufficiently large value in the va…

  • High 7.3

    Possible double-free or memory leak in stbi__load_gif_main in stb_image

    stb_image is a single file MIT licensed library for processing images. It may look like `stbi__load_gif_main` doesn’t give guarantees about the content of output value `*delays` upon failure. Although it sets `*delays` to zero at the beginning, it doesn’t do …

  • High 7.3

    Double-free in stbi__load_gif_main_outofmem in stb_image

    stb_image is a single file MIT licensed library for processing images. A crafted image file can trigger `stbi__load_gif_main_outofmem` attempt to double-free the out variable. This happens in `stbi__load_gif_main` because when the `layers * stride` value is z…

  • High 8.1

    stb_image.h 2.27 has a heap-based buffer over in stbi__jpeg_load, leading to Information Disclosure or Denial of Servic…