Lucene search

K
huntrJieyongma104D8C5D-CAC5-4BAA-9AC9-291EA0BCAB95
HistoryApr 20, 2022 - 8:31 a.m.

chafa: NULL Pointer Dereference in function gif_internal_decode_frame at libnsgif.c:599 allows attackers to cause a denial of service (crash) via a crafted input file.

2022-04-2008:31:26
jieyongma
www.huntr.dev
9

0.001 Low

EPSS

Percentile

44.9%

Steps to reproduce the issue

git clone https://github.com/hpjansson/chafa.git

cd chafa

export CFLAGS=“-g -O0”
export CXXFLAGS=“-g -O0”
./autogen.sh
./configure --disable-shared

make

./tools/chafa/chafa ./poc.gif

gdb --args ./tools/chafa/chafa ./poc.gif

https://github.com/JieyongMa/poc/raw/main/gdb.jpg

Proof of Concept

https://github.com/JieyongMa/poc/raw/main/poc.gif

0.001 Low

EPSS

Percentile

44.9%