CVE-2023-34475: Use After Free

Published Jun 12, 2023
·
Updated

A heap use after free issue was discovered in ImageMagick's ReplaceXmpValue() function in MagickCore/profile.c. An attacker could pass specially crafted file to convert, triggering an heap-use-after-free write error, allowing an application to crash, resulting in a denial of service.

https://github.com/ImageMagick/ImageMagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0

Other sources

A heap use after free issue was discovered in ImageMagick's ReplaceXmpValue() function in MagickCore/profile.c. An attacker could trick user to open a specially crafted file to convert, triggering an heap-use-after-free write error, allowing an application to crash, resulting in a denial of service.

MITRE

Affected Software

5 affected componentsFixes available
redhat/ImageMagick 7.1.1<10
10
ImageMagick<7.1.1-10
Fedora EPEL=8.0
fedoraproject fedora=37
fedoraproject fedora=38

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ImageMagick 7.1.1 to a version that resolves this vulnerability.

    Fixed in 10

Event History

Jun 16, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-34475?

CVE-2023-34475 is a heap use after free vulnerability in ImageMagick's ReplaceXmpValue() function.

2

What is the severity of CVE-2023-34475?

The severity of CVE-2023-34475 is medium, with a severity value of 5.5.

3

How does CVE-2023-34475 affect ImageMagick?

CVE-2023-34475 affects ImageMagick versions 7.1.1 up to but excluding version 10.

4

How can an attacker exploit CVE-2023-34475?

An attacker can exploit CVE-2023-34475 by tricking a user into opening a specially crafted file to convert, triggering a heap-use-after-free write error.

5

Is there a fix available for CVE-2023-34475?

Yes, a fix is available for CVE-2023-34475. It is recommended to update to ImageMagick version 10 or above.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203