{"id":"CVE-2017-14636","details":"Because of an integer overflow in sam2p 0.49.3, a loop executes 0xffffffff times, ending with an invalid read of size 1 in the Image::Indexed::sortPal function in image.cpp. However, this also causes memory corruption because of an attempted write to the invalid d[0xfffffffe] array element.","modified":"2026-03-14T09:22:13.751691Z","published":"2017-09-22T07:29:00.207Z","related":["MGASA-2020-0459"],"references":[{"type":"ADVISORY","url":"https://github.com/pts/sam2p/issues/14"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pts/sam2p","events":[{"introduced":"0"},{"last_affected":"3d061cdc9889d10618c28db03313bcc290dc8b89"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.49.3"}]}}],"versions":["v0.49.2","v0.49.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14636.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}