CVE-2021-21798

CVE-2021-21798 is a high-severity vulnerability in Gonitro Nitro Pro with a CVSS 3.x base score of 7.8. Its EPSS exploit-prediction score of 16% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-562.

Key facts

Description

An exploitable return of stack variable address vulnerability exists in the JavaScript implementation of Nitro Pro PDF. A specially crafted document can cause a stack variable to go out of scope, resulting in the application dereferencing a stale pointer. This can lead to code execution under the context of the application. An attacker can convince a user to open a document to trigger the vulnerability.

Frequently asked questions

What is CVE-2021-21798?
An exploitable return of stack variable address vulnerability exists in the JavaScript implementation of Nitro Pro PDF. A specially crafted document can cause a stack variable to go out of scope, resulting in the application dereferencing a stale pointer. This can lead to code execution under the context of the application. An attacker can convince a user to open a document to trigger the vulnerability.
How severe is CVE-2021-21798?
CVE-2021-21798 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2021-21798 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 16% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2021-21798?
CVE-2021-21798 primarily affects Gonitro Nitro Pro. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2021-21798?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2021-21798 published?
CVE-2021-21798 was published on 2021-09-15 and last updated on 2026-06-17.

References

Affected products (2)

More vulnerabilities in Gonitro Nitro Pro

All CVEs affecting Gonitro Nitro Pro →

Other CWE-562 vulnerabilities

Browse all CWE-562 vulnerabilities →