Cyber Resilience

CVE-2023-3195

Memory Safety in Imagemagick ≤ 6.9.12-26

Public PoCMemory Safety
Published
16 June 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS Score 0.0050 40th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2023-3195 is a medium-severity Stack-based Buffer Overflow (CWE-121) vulnerability in Imagemagick Imagemagick. Its CVSS base score is 5.5 (Medium).

Operationally, ranked at the 40th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-1906Same product: Fedoraproject Extra Packages For Enterprise Linux
CVE-2023-34474Same product: Fedoraproject Extra Packages For Enterprise Linux
CVE-2023-3428Same product: Fedoraproject Extra Packages For Enterprise Linux
CVE-2026-33536Same product: Imagemagick Imagemagick
CVE-2026-30929Same product: Imagemagick Imagemagick
CVE-2026-25967Same product: Imagemagick Imagemagick
CVE-2026-25968Same product: Imagemagick Imagemagick
CVE-2026-28494Same product: Imagemagick Imagemagick
CVE-2026-42050Same product: Imagemagick Imagemagick
CVE-2024-31079Same product: Fedoraproject Fedora

Affected Assets

imagemagick
imagemagick
≤ 6.9.12-26 · 7.1.1-0 — 7.1.1-10
fedoraproject
extra packages for enterprise linux
8.0
fedoraproject
fedora
37, 38

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure-development practices directly prevent introduction of stack buffer overflows.

ID.RA-01 partial match
prevents

Vulnerability scanning can discover stack buffer overflows but does not prevent their introduction.

PR.PS-02 partial match
prevents

Patching eliminates known instances of the weakness after discovery.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing (fuzzing, static analysis) detects stack overflows before release.

prevents

Secure SDLC mandates buffer-safety practices that directly prevent stack overflows.

prevents

Application security requirements can specify buffer-size and input-validation rules.

prevents

Secure architecture principles include memory-safety and least-privilege stack usage.

prevents

Secure coding standards explicitly forbid unsafe buffer handling that causes CWE-121.

prevents

Change management can enforce review gates that catch unsafe memory operations before deployment.

References