CVE-2023-34475

Source
https://cve.org/CVERecord?id=CVE-2023-34475
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-34475.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-34475
Downstream
CGA (2)
JLSEC (1)
OESA (3)
openSUSE (1)
Related
Published
2023-06-16T00:00:00Z
Modified
2026-10-21T08:37:10Z
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner":  "redhat",
    "cwe_ids":  [
        "CWE-416"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34475.json"
}
References

Affected packages

Git / github.com/imagemagick/imagemagick

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "7.1.1-10"
                },
                {
                    "last_affected":  "7.1.1-10"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "fixed":  "1061db7f80fdc9ef572ac60b55f408f7bab6e1b0"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

7.*
7.1.1-10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-34475.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "171567989700768452765650365685696257796",
            "length":  481
        },
        "id":  "CVE-2023-34475-17fc5bc3",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0",
        "target":  {
            "file":  "MagickCore/profile.c",
            "function":  "ReplaceXmpValue"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "22211026835068585537754408172933685949",
                "305560711222727864673546601845497661638",
                "331606509492598926290568334711269548846",
                "10510050901168058350228538308109414239",
                "135315936994984284765146138195974061769",
                "181184953458520071222920967365759424460",
                "226977974569748199814886386790936448289"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2023-34475-99bd0ae9",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0",
        "target":  {
            "file":  "coders/tim2.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "87345629618235112121043596209577695085",
            "length":  8959
        },
        "id":  "CVE-2023-34475-c64ae380",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0",
        "target":  {
            "file":  "coders/tim2.c",
            "function":  "ReadTIM2ImageData"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "19399147262927814588554657290477507206",
                "42798428699592628236704212154180795440",
                "282262402358237943148986389786849953435",
                "228797678242689511128049501619693945729",
                "255740693454369074708659765605604384296",
                "77874217997952722464023705920901433153",
                "236700820451864648629110424788764936674",
                "284698092494841477017966307982874969136"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2023-34475-f4be3dac",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0",
        "target":  {
            "file":  "MagickCore/profile.c"
        }
    }
]
vanir_signatures_modified
"2026-10-21T08:37:10Z"