{"id":"CVE-2017-14173","published":"2017-09-07T06:00:00Z","modified":"2024-08-05T19:20:41Z","title":"In the function ReadTXTImage() in coders/txt.c in ImageMagick 7.0.6-10, an integer overflow might occur for the…","vendor":null,"product":null,"tier":"tail","description":{"text":"In the function ReadTXTImage() in coders/txt.c in ImageMagick 7.0.6-10, an integer overflow might occur for the addition operation \"GetQuantumRange(depth)+1\" when \"depth\" is large, producing a smaller value than expected. As a result, an infinite loop would occur for a crafted TXT file that claims a very large \"max_value\" value.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01939,"percentile":0.80451,"provenance":"source"},"cwes":[],"references":[{"url":"https://usn.ubuntu.com/3681-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://security.gentoo.org/glsa/201711-07","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://github.com/ImageMagick/ImageMagick/issues/713","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/50f54462076648ac2e36c3f58f4dadd4babbf1c9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":16.09}]},"euvd":{"id":"EUVD-2017-5683","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2016-9559-family-cve-2016-9559","parents":[{"from":"CVE-2016-9559","to":"CVE-2017-14173","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coders/txt.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/b61d35eaccc0a7ddeff8a1c3abfcd0a43ccf210b","https://github.com/ImageMagick/ImageMagick/commit/50f54462076648ac2e36c3f58f4dadd4babbf1c9"],"basis":"rarely changed file"}]},{"from":"CVE-2017-11523","to":"CVE-2017-14173","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coders/txt.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/83e0f8ffd7eeb7661b0ff83257da23d24ca7f078","https://github.com/ImageMagick/ImageMagick/commit/a8f9c2aabed37cd6a728532d1aed13ae0f3dfd78","https://github.com/ImageMagick/ImageMagick/commit/50f54462076648ac2e36c3f58f4dadd4babbf1c9"],"basis":"shared function","functions":["ReadTXTImage"]}]}]}}