Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-27470: More integer overflow (see bug #187) · libsdl-org/SDL_ttf@db1b41a

SDL_ttf v2.0.18 and below was discovered to contain an arbitrary memory write via the function TTF_RenderText_Solid(). This vulnerability is triggered via a crafted TTF file.

CVE
#vulnerability

@@ -1257,7 +1257,7 @@ static SDL_Surface* Create_Surface_Solid(int width, int height, SDL_Color fg, Ui */ void *pixels, *ptr; /* Worse case at the end of line pulling ‘alignment’ extra blank pixels */ Sint64 pitch = width + alignment; Sint64 pitch = (Sint64)width + (Sint64)alignment; pitch += alignment; pitch &= ~alignment; size = height * pitch + sizeof (void *) + alignment; @@ -1321,7 +1321,7 @@ static SDL_Surface* Create_Surface_Shaded(int width, int height, SDL_Color fg, S */ void *pixels, *ptr; /* Worse case at the end of line pulling ‘alignment’ extra blank pixels */ Sint64 pitch = width + alignment; Sint64 pitch = (Sint64)width + (Sint64)alignment; pitch += alignment; pitch &= ~alignment; size = height * pitch + sizeof (void *) + alignment; @@ -1418,7 +1418,7 @@ static SDL_Surface *Create_Surface_Blended(int width, int height, SDL_Color fg, Sint64 size; void *pixels, *ptr; /* Worse case at the end of line pulling ‘alignment’ extra blank pixels */ Sint64 pitch = (width + alignment) * 4; Sint64 pitch = ((Sint64)width + (Sint64)alignment) * 4; pitch += alignment; pitch &= ~alignment; size = height * pitch + sizeof (void *) + alignment;

Related news

Gentoo Linux Security Advisory 202407-02

Gentoo Linux Security Advisory 202407-2 - A vulnerability has been discovered in SDL_ttf, which can lead to arbitrary memory writes. Versions greater than or equal to 2.20.0 are affected.

CVE-2021-27435: Add integer overflow check to the malloc wrappers by LDong-Arm · Pull Request #14408 · ARMmbed/mbed-os

ARM mbed product Version 6.3.0 is vulnerable to integer wrap-around in malloc_wrapper function, which can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907