Cyber Resilience

CVE-2023-4504

Memory Safety in Fedoraproject Fedora 37 … 39

Public PoCMemory Safety
Published
21 September 2023
Modified
04 November 2025
Patch / advisory
CVSS Score v3.1 7.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0066 48th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2023-4504 is a high-severity Heap-based Buffer Overflow (CWE-122) vulnerability in Fedoraproject Fedora. Its CVSS base score is 7.0 (High).

Operationally, ranked at the 48th 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

Due to failure in validating the length provided by an attacker-crafted PPD PostScript document, CUPS and libppd are susceptible to a heap-based buffer overflow and possibly code execution. This issue has been fixed in CUPS version 2.4.7, released in September…

more

of 2023.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-32324Same product: Debian Debian Linux
CVE-2023-3180Same product: Debian Debian Linux
CVE-2020-25682Same product: Debian Debian Linux
CVE-2023-1810Same product: Debian Debian Linux
CVE-2023-40569Same product: Debian Debian Linux
CVE-2020-25681Same product: Debian Debian Linux
CVE-2023-40567Same product: Debian Debian Linux
CVE-2023-4353Same product: Debian Debian Linux
CVE-2023-1812Same product: Debian Debian Linux
CVE-2023-43641Same product: Debian Debian Linux

Affected Assets

openprinting
cups
≤ 2.4.7
openprinting
libppd
2.0
fedoraproject
fedora
37, 38, 39
debian
debian linux
10.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.4.1

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 full match
prevents

Secure-development practices directly require bounds checking and safe memory handling that prevent heap overflows.

ID.RA-01 partial match
prevents

Vulnerability scanning and recording can discover heap-overflow flaws but does not prevent their introduction in code.

PR.PS-02 partial match
prevents

Timely patching removes known heap-overflow instances after they exist.

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 in development and acceptance can detect heap overflows before release.

prevents

Secure development lifecycle mandates practices that reduce the likelihood of introducing heap overflows.

prevents

Application security requirements can specify bounds-checking and safe memory APIs that mitigate heap overflows.

prevents

Secure architecture and engineering principles include memory-safety and input-validation controls that address heap overflows.

prevents

Secure coding standards directly prescribe techniques (safe functions, bounds checks) that prevent heap-based buffer overflows.

prevents

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

References