Description
ImageMagick before 7.1.2-22 contains an information disclosure vulnerability in the PasskeyEncipherImage method due to AES-CTR nonce reuse. Attackers can exploit nonce reuse in the cipher implementation to recover plaintext information from encrypted images.
Published: 2026-06-30
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an improper handling of cryptographic parameters in ImageMagick versions prior to 7.1.2-22. The PasskeyEncipherImage routine reuses the AES-CTR nonce when decrypting images, which allows an attacker to recover XOR‑masked plaintext from the ciphertext using standard nonce‑reuse cryptanalysis. This results in disclosure of hidden or embedded data that the image is meant to protect, exposing potentially confidential information to anyone who can obtain the encrypted image. The weakness maps to CWE‑323, Improper Validation or Handling of Cryptographic Keys.

Affected Systems

ImageMagick installation is affected. Any version earlier than 7.1.2‑22 is vulnerable. The vulnerability is present in all distribution packages that include the PasskeyEncipherImage method, typically embedded in the core library used by image processing applications.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity, primarily due to the lack of a direct remote code execution path. Exploitation requires the attacker to supply or influence the choice of an encrypted image processed by the vulnerable routine. Because the flaw leverages nonce reuse, once the image is processed, the attacker can recover plaintext without further interaction. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, suggesting that no widespread active exploitation has been documented. Nonetheless, the potential for sensitive data leakage warrants prompt remediation.

Generated by OpenCVE AI on June 30, 2026 at 23:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-22 or later.
  • Restrict or remove usage of the PasskeyEncipherImage method on untrusted image inputs.
  • Implement nonce validation or enforce unique nonce generation for AES-CTR encryption in image processing workflows.

Generated by OpenCVE AI on June 30, 2026 at 23:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 04 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Wed, 01 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 30 Jun 2026 22:45:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-22 contains an information disclosure vulnerability in the PasskeyEncipherImage method due to AES-CTR nonce reuse. Attackers can exploit nonce reuse in the cipher implementation to recover plaintext information from encrypted images.
Title ImageMagick - Information Disclosure via AES-CTR Nonce Reuse in PasskeyEncipherImage
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-323
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-01T15:07:57.635Z

Reserved: 2026-06-21T02:05:21.920Z

Link: CVE-2026-56369

cve-icon Vulnrichment

Updated: 2026-07-01T15:06:28.293Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-06-30T22:08:38Z

Links: CVE-2026-56369 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T03:30:05Z

Weaknesses
  • CWE-323

    Reusing a Nonce, Key Pair in Encryption