Arbitrary file upload in R-Project Rgui

CVE-2018-25258

RGui 3.5.0 contains a local buffer overflow vulnerability in the GUI preferences dialog that allows attackers to bypass DEP protections through structured exception handling exploitation. Attackers can craft malicious input in the Language for menus and messages field to trigger a stack-based buffer overflow, execute a ROP chain for VirtualAlloc allocation, and achieve arbitrary code execution.

Vulnerability class: Unrestricted File Upload

EPSS: 0.002 (8.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-25258?
CVE-2018-25258 is a high-severity vulnerability in R-Project Rgui, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.4/10. Published 2026-04-12.
How severe is CVE-2018-25258?
High severity. CVSS v3 base score is 8.4 out of 10.