ImageMagick is vulnerable to Heap-based Buffer Overflow
60
CVE Score
Medium
Heap-based Buffer Overflow
Before the fix, the distributed pixel cache server's OpenDistributeCache read a client-supplied metacontent_extent from the open-cache header and passed it to OpenPixelCache, which added it to packet_size without an overflow check; a crafted value wrapped the size, allocating an undersized heap cache that a later client write command filled past its end, crashing the server. Any client that can connect to the distributed pixel cache server and knows the policy shared-secret value can trigger this. The fix checks the addition with HeapOverflowCheckAdd and throws ResourceLimitError before the cache is allocated.
Upgrade the ImageMagick package to 7.1.2-31 or later.
You are affected if you are using a version that falls within the vulnerable range and run a distributed pixel cache server reachable by clients that know the configured policy shared-secret value.
7.0.1-0 - 7.1.2-30
Fixed in 7.1.2-31ImageMagick is vulnerable to Heap-based Buffer Overflow in versions 7.0.1-0 - 7.1.2-30.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.