CVE-2016-5688

high
Published 2016-12-13 ยท Modified 2026-05-06
CVSS v3
8.1
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.1

Description

The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via vectors related to the SetImageExtent return-value check, which trigger (1) a heap-based buffer overflow in the SetPixelIndex function or an invalid write operation in the (2) ScaleCharToQuantum or (3) SetPixelIndex functions.

Predictions

Exploit likelihood
88%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed8:6.9.6.2+dfsg-2
debian debianbullseyefixed8:6.9.6.2+dfsg-2
debian debianforkyfixed8:6.9.6.2+dfsg-2
debian debiansidfixed8:6.9.6.2+dfsg-2
debian debiantrixiefixed8:6.9.6.2+dfsg-2

Application impact

VendorProductVersionsFixed
imagemagickimagemagick{"endIncluding":"6.9.4-3"}
imagemagickimagemagick7.0.1-0
imagemagickimagemagick7.0.1-1
imagemagickimagemagick7.0.1-2
imagemagickimagemagick7.0.1-3
imagemagickimagemagick7.0.1-4

References

CWEs

CWE-119

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.