Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEGV on unknown address has occurred when running program imgdataopt in function read_png_stream at imgdataopt.c #5

Open
Du4t opened this issue Jul 10, 2023 · 0 comments

Comments

@Du4t
Copy link

Du4t commented Jul 10, 2023

Description

SEGV on unknown address has occurred when running program imgdataopt in function read_png_stream at imgdataopt.c:1100

Version

commit 5906ee33826d090e470889b82fdac8f1a0e7c673 (HEAD -> master, origin/master, origin/HEAD)
Author: Peter Szabo <[email protected]>
Date:   Tue Apr 18 19:01:18 2023 +0200

Steps to reproduce

git clone https://github.com/pts/imgdataopt.git
cd imgdataopt
make
./imgdataopt ./poc1 ./test.png
warning: png image data too short

Segmentation fault (core dumped)

POC

https://github.com/GGb0ndQAQ/POC/blob/main/imgdataopt/poc1

Impact

Potentially causing DoS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant