An issue was discovered in LibTIFF 4.0.9. There is a int32 overflow in multiply_ms in tools/ppm2tiff.c, which can cause a denial of service (crash) or possibly have unspecified other impact via a crafted image file.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://usn.ubuntu.com/3864-1/ | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/10/msg00019.html | third party advisory mailing list |
http://bugzilla.maptools.org/show_bug.cgi?id=2810 | patch third party advisory issue tracking |
https://gitlab.com/libtiff/libtiff/merge_requests/33/diffs?commit_id=6da1fb3f64d43be37e640efbec60400d1f1ac39e | third party advisory patch |
https://usn.ubuntu.com/3906-2/ | vendor advisory |
https://access.redhat.com/errata/RHSA-2019:2053 | vendor advisory |
https://www.debian.org/security/2020/dsa-4670 | vendor advisory |