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

CVE-2019-5086: xcftools flattenIncrementally tiles walk code execution vulnerability #12

carnil opened this issue Nov 22, 2019 · 1 comment


Copy link

@carnil carnil commented Nov 22, 2019


See TALOS report at TALOS-2019-0878.


This comment has been minimized.

Copy link

@hlef hlef commented Dec 13, 2019

@j-jorge well, this issue could be as easy to fix as

diff --git a/xcftools.h b/xcftools.h
index 5a1efcc..9eb26da 100644
--- a/xcftools.h
+++ b/xcftools.h
@@ -121,7 +121,7 @@ FILE* openout(const char*);
 void closeout(FILE *,const char*);

 struct rect {
-  int t, b, l, r ;
+  unsigned t, b, l, r ;

 #define isSubrect(A,B) \

I wrote a reproducer. Please contact me directly if you need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.