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.
{
"unresolved_ranges": [
{
"source": "CPE_FIELD",
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
"extracted_events": [
{
"last_affected": "14.04"
}
]
},
{
"source": "CPE_FIELD",
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"extracted_events": [
{
"last_affected": "16.04"
}
]
},
{
"source": "CPE_FIELD",
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"extracted_events": [
{
"last_affected": "18.04"
}
]
},
{
"source": "CPE_FIELD",
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "18.10"
}
]
},
{
"source": "CPE_FIELD",
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "19.04"
}
]
}
]
}{
"source": [
"CPE_FIELD",
"REFERENCES"
],
"cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "7.0.0-0"
},
{
"fixed": "7.0.8-9"
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-16323.json"
"2026-04-11T18:44:26Z"
[
{
"source": "https://github.com/imagemagick/imagemagick/commit/216d117f05bff87b9dc4db55a1b1fadb38bcb786",
"digest": {
"line_hashes": [
"224705441759010440560900958223762406793",
"304529211916910209029294137354228750713",
"235771051595492321073379605913506309882",
"126407365303418340446855400405574241016",
"224705441759010440560900958223762406793",
"304529211916910209029294137354228750713",
"204883727999822357422436829985984245928",
"205102091651409849008738220299547053545"
],
"threshold": 0.9
},
"target": {
"file": "coders/xbm.c"
},
"deprecated": false,
"id": "CVE-2018-16323-1d056cc2",
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://github.com/imagemagick/imagemagick/commit/216d117f05bff87b9dc4db55a1b1fadb38bcb786",
"digest": {
"function_hash": "174512057943492617268595983285528458559",
"length": 5438.0
},
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2018-16323-8b14128d",
"signature_version": "v1",
"target": {
"file": "coders/xbm.c",
"function": "ReadXBMImage"
}
}
]
{
"source": "CPE_FIELD",
"cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.9.10-9"
}
]
}