{"id":"ALPINE-CVE-2018-12900","details":"Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.","modified":"2025-12-03T22:41:51.416461Z","published":"2018-06-26T22:29:00.257Z","upstream":["CVE-2018-12900"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-12900"}],"affected":[{"package":{"name":"tiff","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}},{"package":{"name":"tiff","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/tiff?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.10-r0"}]}],"versions":["3.8.2-r0","3.8.2-r1","3.8.2-r2","3.8.2-r3","3.8.2-r4","3.9.5-r0","3.9.5-r1","4.0.1-r0","4.0.2-r0","4.0.2-r1","4.0.3-r0","4.0.3-r1","4.0.3-r2","4.0.3-r3","4.0.6-r0","4.0.6-r1","4.0.6-r2","4.0.6-r3","4.0.7-r0","4.0.7-r1","4.0.7-r2","4.0.7-r3","4.0.8-r0","4.0.8-r1","4.0.9-r0","4.0.9-r1","4.0.9-r2","4.0.9-r3","4.0.9-r4","4.0.9-r5","4.0.9-r6","4.0.9-r7","4.0.9-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12900.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}