CyberSecBulletin
CVE-2024-30366NVD status: Analyzed

PDF Reader: Use After Free

CVE-2024-30366 is a high-severity use after free vulnerability in PDF Reader from Foxit, with a CVSS 3.0 base score of 7.8 out of 10. It can be exploited with local access to the system by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. Affected PDF Reader versions: 2023.3.0.23028; 2023.3.0.23028 and earlier. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.84% chance of exploitation within 30 days, higher than 59% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update PDF Editor to 11.1.6.0109 or 12.1.2.55366 or 13.0.1.61866 or 2023.3.0.63083, whichever matches your release line, or a later version.
  2. Read the advisory on foxit.com for workarounds and exact fixed builds.
  3. Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.

Affected products and versions

VendorProductAffected versionsFixed in
FoxitPDF Reader2023.3.0.23028; 2023.3.0.23028 and earlierNot stated
FoxitPDF Editorbefore 11.1.6.0109; 12.0.0.0601 up to, but not including, 12.1.2.55366; 13.0.0.61829 up to, but not including, 13.0.1.61866; 2023.1.0.55583 up to, but not including, 2023.3.0.63083; before 10.1.12.37872; 11.0.0.49893 up to, but not including, 11.2.8.53842; 12.0.0.12394 up to, but not including, 12.1.4.15400; 13.0.0.21632 up to, but not including, 13.0.1.21693; and 1 more ranges11.1.6.0109, 12.1.2.55366, 13.0.1.61866, 2023.3.0.63083, 10.1.12.37872, 11.2.8.53842

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
RequiredA user must take an action such as opening a file or link.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by CNA (trendmicro.com).

Official description

Foxit PDF Reader AcroForm Use-After-Free Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader. 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 handling of AcroForms. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-23002.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.

How developers prevent this class of flaw

  • Choose a language that provides automatic memory management.
  • When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

More Use After Free vulnerabilities (CWE-416)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other vulnerabilities in PDF Reader

All PDF Reader vulnerabilities

Recent Use After Free vulnerabilities

Spotted an error? Tell us.