Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-54731: CWE-674 Uncontrolled Recursion in Coherent Graphics CPDF

0
Medium
VulnerabilityCVE-2024-54731cvecve-2024-54731cwe-674
Published: Wed Jan 08 2025 (01/08/2025, 00:00:00 UTC)
Source: CVE Database V5
Vendor/Project: Coherent Graphics
Product: CPDF

Description

CVE-2024-54731 is a medium-severity vulnerability in Coherent Graphics' CPDF library versions through 2. 8, caused by uncontrolled recursion leading to stack consumption when processing crafted PDF documents. This flaw does not impact confidentiality or integrity but can cause denial of service by crashing applications using the vulnerable CPDF version. Exploitation requires local access and no user interaction or privileges, limiting remote attack feasibility. No known exploits are currently reported in the wild, and no patches have been published yet. Organizations using CPDF in their software stacks should monitor for updates and consider mitigating exposure to untrusted PDF inputs. The vulnerability primarily threatens systems where CPDF is embedded, which may include embedded devices and specialized software globally. Given the medium CVSS score of 4. 0, the risk is moderate but should not be ignored in critical environments.

AI-Powered Analysis

AILast updated: 02/26/2026, 01:53:12 UTC

Technical Analysis

CVE-2024-54731 is a vulnerability classified under CWE-674 (Uncontrolled Recursion) affecting Coherent Graphics' CPDF library up to version 2.8. The issue arises when the CPDF library processes a specially crafted PDF document that triggers uncontrolled recursive calls, leading to excessive stack consumption. This stack exhaustion can cause the application or system component using CPDF to crash, resulting in a denial of service (DoS) condition. The vulnerability does not affect confidentiality or integrity, as it does not allow code execution or data manipulation, but it impacts availability by causing application instability or termination. The CVSS 3.1 base score is 4.0 (medium severity), with the vector indicating local attack vector (AV:L), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), unchanged scope (S:U), and impact limited to availability (A:L). There are no known exploits in the wild, and no patches have been released as of the publication date (January 8, 2025). The vulnerability is relevant for any software or device embedding the CPDF library for PDF rendering or processing, which may include embedded systems, specialized document viewers, or proprietary applications. The root cause is a lack of recursion control in the PDF parsing logic, which should be addressed by implementing recursion limits or iterative parsing methods. Until a patch is available, users should avoid processing untrusted PDF files with vulnerable CPDF versions and consider sandboxing or resource limiting to mitigate potential crashes.

Potential Impact

The primary impact of CVE-2024-54731 is denial of service due to application or system crashes caused by stack exhaustion from uncontrolled recursion. This can disrupt business operations, especially in environments relying on CPDF for PDF processing or rendering, such as embedded devices, document management systems, or specialized software. Although the vulnerability does not allow data theft or code execution, the loss of availability can affect productivity and service reliability. Systems exposed to untrusted PDF inputs are at higher risk. The requirement for local access reduces the likelihood of remote exploitation, but insider threats or compromised local users could trigger the vulnerability. In critical infrastructure or embedded systems where CPDF is used, repeated crashes could lead to system instability or require manual intervention, increasing operational costs and downtime.

Mitigation Recommendations

To mitigate CVE-2024-54731, organizations should: 1) Monitor Coherent Graphics' official channels for patches or updates addressing this vulnerability and apply them promptly once available. 2) Restrict processing of untrusted or unauthenticated PDF documents through CPDF, especially in environments where local users have access. 3) Implement sandboxing or containerization for applications using CPDF to limit the impact of potential crashes and isolate failures. 4) Employ resource limits on stack usage or process memory to prevent system-wide instability from stack exhaustion. 5) Conduct code audits or static analysis on custom integrations of CPDF to identify and remediate recursion risks. 6) Consider alternative PDF libraries with better security track records if patching is delayed. 7) Educate local users about the risks of opening untrusted PDFs in affected applications. These steps go beyond generic advice by focusing on controlling input trust boundaries, isolating vulnerable components, and enforcing resource constraints.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-12-06T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6bc6b7ef31ef0b55ad54

Added to database: 2/25/2026, 9:38:14 PM

Last enriched: 2/26/2026, 1:53:12 AM

Last updated: 2/26/2026, 9:39:42 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats