CVE-2022-1270: Buffer Overflow

Published Sep 28, 2022
·
Updated

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Affected Software

14 affected componentsFixes available
GraphicsMagick Graphicsmagick=1.4.020220326
Debian Debian Linux=10.0
Debian Debian Linux=11.0
debian/graphicsmagick<1.4+really1.3.38-1
1.4+really1.3.38-1
debian/graphicsmagick<1.4+really1.3.38-1
1.4+really1.3.38-1
debian/graphicsmagick<1.4+really1.3.38-1
1.4+really1.3.38-1
debian/graphicsmagick
1.4+really1.3.40-4+deb12u11.4+really1.3.45+hg17696-11.4+really1.3.49-1
alpine/graphicsmagick<1.3.38-r0
1.3.38-r0
alpine/graphicsmagick<1.3.38-r0
1.3.38-r0
alpine/graphicsmagick<1.3.38-r0
1.3.38-r0
alpine/graphicsmagick<1.3.38-r0
1.3.38-r0
alpine/graphicsmagick<1.3.38-r0
1.3.38-r0
alpine/graphicsmagick<1.3.38-r0
1.3.38-r0
alpine/graphicsmagick<1.3.38-r0
1.3.38-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.4+really1.3.40-4+deb12u1Fixed in 1.4+really1.3.45+hg17696-1Fixed in 1.4+really1.3.49-1
  2. Upgrade

    Upgrade alpine/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.38-r0
  3. Upgrade

    Upgrade debian/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.4+really1.3.38-1

Event History

Sep 28, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-1270?

CVE-2022-1270 is a heap buffer overflow vulnerability found in GraphicsMagick when parsing MIFF files.

2

How does CVE-2022-1270 impact GraphicsMagick?

CVE-2022-1270 can lead to a heap buffer overflow in GraphicsMagick, potentially allowing an attacker to execute arbitrary code or cause a denial-of-service.

3

Which versions of GraphicsMagick are affected by CVE-2022-1270?

GraphicsMagick version 1.4.020220326 is affected by CVE-2022-1270.

4

How can I fix CVE-2022-1270 in GraphicsMagick?

To fix CVE-2022-1270 in GraphicsMagick, update to version 1.4+ or apply the necessary security patches provided by your distribution or vendor.

5

Where can I find more information about CVE-2022-1270?

You can find more information about CVE-2022-1270 in the references provided: [link1](https://lists.debian.org/debian-lts-announce/2022/11/msg00028.html), [link2](https://security.gentoo.org/glsa/202209-19), [link3](https://sourceforge.net/p/graphicsmagick/bugs/664/).

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