{"id":"CVE-2018-16323","published":"2018-09-01T18:00:00Z","modified":"2024-08-05T10:17:38Z","title":"ReadXBMImage in coders/xbm.c in ImageMagick before 7.0.8-9 leaves data uninitialized when processing an XBM file that…","vendor":null,"product":null,"tier":"tail","description":{"text":"ReadXBMImage in coders/xbm.c in ImageMagick before 7.0.8-9 leaves data uninitialized when processing an XBM file that has a negative pixel value. If the affected code is used as a library loaded into a process that includes sensitive information, that information sometimes can be leaked via the image data.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.48888,"percentile":0.98907,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/45890/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/216d117f05bff87b9dc4db55a1b1fadb38bcb786","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3785-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4034-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":19.78},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-11-19"},"pocGithub":{"count":1,"skipped":0,"earliest":"2018-11-18","earliestUrl":"https://github.com/ttffdd/XBadManners","repos":[{"name":"ttffdd/XBadManners","url":"https://github.com/ttffdd/XBadManners","stars":83,"created":"2018-11-18"}]},"first":{"date":"2018-11-18","source":"PoC-in-GitHub","url":"https://github.com/ttffdd/XBadManners"},"provenance":"source"},"summary":{"text":"The flaw is in the ReadXBMImage function in coders/xbm.c of ImageMagick, where data is left uninitialized when an XBM file contains a negative pixel value. The affected component is the XBM image decoder within ImageMagick versions before 7.0.8-9. An attacker who can supply a crafted XBM file containing a negative pixel value to an application using the affected code as a library can potentially leak sensitive information held in the same process through the resulting image data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:59Z"},"euvd":{"id":"EUVD-2018-8174","exploited":false,"provenance":"source"},"exploits":[{"id":45890,"url":"https://www.exploit-db.com/exploits/45890","title":"ImageMagick - Memory Leak","date":"2018-11-19","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/45890/"],"lineage":{"familyId":"fam-cve-2017-14175-family-cve-2017-14175","parents":[{"from":"CVE-2017-14175","to":"CVE-2018-16323","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coders/xbm.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/d9a8234d211da30baf9526fbebe9a8438ea7e11c","https://github.com/ImageMagick/ImageMagick/commit/216d117f05bff87b9dc4db55a1b1fadb38bcb786"],"basis":"shared function","functions":["ReadXBMImage"]}]}]}}