Cyber Resilience

CVE-2023-2731

Memory Safety in Libtiff ≤ 4.5.0

Public PoCMemory Safety
Published
17 May 2023
Modified
22 January 2025
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.0043 35th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2023-2731 is a medium-severity NULL Pointer Dereference (CWE-476) vulnerability in Libtiff Libtiff. Its CVSS base score is 5.5 (Medium).

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

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A NULL pointer dereference flaw was found in Libtiff's LZWDecode() function in the libtiff/tif_lzw.c file. This flaw allows a local attacker to craft specific input data that can cause the program to dereference a NULL pointer when decompressing a TIFF…

more

format file, resulting in a program crash or denial of service.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-6277Same product: Fedoraproject Fedora
CVE-2023-41175Same product: Fedoraproject Fedora
CVE-2023-3576Same product: Fedoraproject Fedora
CVE-2023-40546Same product: Fedoraproject Fedora
CVE-2023-42754Same product: Fedoraproject Fedora
CVE-2023-6622Same product: Fedoraproject Fedora
CVE-2023-6679Same product: Fedoraproject Fedora
CVE-2024-7006Same product: Libtiff Libtiff
CVE-2023-40745Same product: Fedoraproject Fedora
CVE-2023-3354Same product: Fedoraproject Fedora

Affected Assets

libtiff
libtiff
≤ 4.5.0
fedoraproject
fedora
38
redhat
enterprise linux
9.0

Mitigating Controls

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 SDLC practices (static analysis, code review, safe coding standards) directly prevent NULL dereference bugs during development.

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 can detect NULL dereference defects before release.

prevents

Secure SDLC mandates defensive coding practices that can prevent NULL dereferences.

prevents

Application security requirements can specify input validation and pointer-safety rules.

prevents

Secure architecture principles encourage defensive design that avoids unsafe pointer use.

prevents

Secure coding standards directly require NULL-pointer checks and safe dereference patterns.

References