CVE-2024-5304: CWE-787: Out-of-bounds Write in Kofax Power PDF
Kofax Power PDF TGA File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of TGA files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-22920.
AI Analysis
Technical Summary
CVE-2024-5304 is a remote code execution vulnerability identified in Kofax Power PDF version 5.0.0.57, related to an out-of-bounds write condition (CWE-787) during the parsing of TGA image files. The vulnerability occurs because the software does not properly validate user-supplied data when processing TGA files, which can lead to writing beyond the allocated buffer boundaries. This memory corruption flaw can be exploited by an attacker who crafts a malicious TGA file and convinces a user to open it or visit a web page that loads such a file. The attack vector requires user interaction but no authentication, making it a significant risk in environments where users frequently handle PDF documents with embedded or linked images. The flaw allows execution of arbitrary code with the privileges of the user running the Power PDF application, potentially leading to full system compromise. The CVSS v3.0 base score is 7.8, reflecting high impact on confidentiality, integrity, and availability, with low attack complexity and no privileges required. Although no active exploits have been reported, the vulnerability was responsibly disclosed and published by the Zero Day Initiative (ZDI) as ZDI-CAN-22920. Organizations relying on Kofax Power PDF should monitor for patches and consider interim mitigations such as restricting TGA file handling and user awareness training.
Potential Impact
The impact of CVE-2024-5304 is significant for organizations using Kofax Power PDF 5.0.0.57, as it enables remote code execution through a crafted TGA file. Successful exploitation can lead to full compromise of the affected system under the context of the user running the application, potentially allowing attackers to steal sensitive data, install malware, or disrupt operations. Since the vulnerability requires user interaction, phishing or social engineering campaigns could be used to deliver malicious files. The broad use of PDF software in enterprises, government, and critical infrastructure increases the risk of targeted attacks. Additionally, the ability to execute arbitrary code without authentication expands the threat surface, especially in environments where users frequently exchange documents. The lack of known exploits in the wild currently reduces immediate risk but does not eliminate the potential for future attacks once exploit code becomes available.
Mitigation Recommendations
To mitigate CVE-2024-5304, organizations should: 1) Monitor Kofax and security advisories closely for official patches or updates and apply them promptly once released. 2) Implement strict file handling policies that restrict or block TGA files from untrusted sources, especially in email and web gateways. 3) Educate users about the risks of opening files from unknown or suspicious origins, emphasizing caution with unexpected attachments or links. 4) Employ endpoint protection solutions capable of detecting anomalous behavior or exploitation attempts related to PDF processing. 5) Consider sandboxing or isolating PDF viewing applications to limit the impact of potential exploitation. 6) Review and harden user privileges to minimize the permissions of accounts running Kofax Power PDF, reducing the scope of compromise. 7) Use network-level controls to limit access to resources that could be targeted post-exploitation. These steps go beyond generic advice by focusing on controlling the specific attack vector (TGA files) and reducing user exposure.
Affected Countries
United States, Canada, United Kingdom, Germany, France, Australia, Japan, South Korea, India, Brazil
CVE-2024-5304: CWE-787: Out-of-bounds Write in Kofax Power PDF
Description
Kofax Power PDF TGA File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of TGA files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-22920.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-5304 is a remote code execution vulnerability identified in Kofax Power PDF version 5.0.0.57, related to an out-of-bounds write condition (CWE-787) during the parsing of TGA image files. The vulnerability occurs because the software does not properly validate user-supplied data when processing TGA files, which can lead to writing beyond the allocated buffer boundaries. This memory corruption flaw can be exploited by an attacker who crafts a malicious TGA file and convinces a user to open it or visit a web page that loads such a file. The attack vector requires user interaction but no authentication, making it a significant risk in environments where users frequently handle PDF documents with embedded or linked images. The flaw allows execution of arbitrary code with the privileges of the user running the Power PDF application, potentially leading to full system compromise. The CVSS v3.0 base score is 7.8, reflecting high impact on confidentiality, integrity, and availability, with low attack complexity and no privileges required. Although no active exploits have been reported, the vulnerability was responsibly disclosed and published by the Zero Day Initiative (ZDI) as ZDI-CAN-22920. Organizations relying on Kofax Power PDF should monitor for patches and consider interim mitigations such as restricting TGA file handling and user awareness training.
Potential Impact
The impact of CVE-2024-5304 is significant for organizations using Kofax Power PDF 5.0.0.57, as it enables remote code execution through a crafted TGA file. Successful exploitation can lead to full compromise of the affected system under the context of the user running the application, potentially allowing attackers to steal sensitive data, install malware, or disrupt operations. Since the vulnerability requires user interaction, phishing or social engineering campaigns could be used to deliver malicious files. The broad use of PDF software in enterprises, government, and critical infrastructure increases the risk of targeted attacks. Additionally, the ability to execute arbitrary code without authentication expands the threat surface, especially in environments where users frequently exchange documents. The lack of known exploits in the wild currently reduces immediate risk but does not eliminate the potential for future attacks once exploit code becomes available.
Mitigation Recommendations
To mitigate CVE-2024-5304, organizations should: 1) Monitor Kofax and security advisories closely for official patches or updates and apply them promptly once released. 2) Implement strict file handling policies that restrict or block TGA files from untrusted sources, especially in email and web gateways. 3) Educate users about the risks of opening files from unknown or suspicious origins, emphasizing caution with unexpected attachments or links. 4) Employ endpoint protection solutions capable of detecting anomalous behavior or exploitation attempts related to PDF processing. 5) Consider sandboxing or isolating PDF viewing applications to limit the impact of potential exploitation. 6) Review and harden user privileges to minimize the permissions of accounts running Kofax Power PDF, reducing the scope of compromise. 7) Use network-level controls to limit access to resources that could be targeted post-exploitation. These steps go beyond generic advice by focusing on controlling the specific attack vector (TGA files) and reducing user exposure.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- zdi
- Date Reserved
- 2024-05-23T22:17:54.538Z
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 699f6be4b7ef31ef0b55bdad
Added to database: 2/25/2026, 9:38:44 PM
Last enriched: 2/28/2026, 12:25:14 AM
Last updated: 4/12/2026, 2:03:56 PM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.