CVE-2020-12819 is a medium severity (CVSS 5.4) heap buffer overflow in how FortiOS handles Link Control Protocol messages. A remote attacker with valid SSL VPN credentials can crash the SSL VPN daemon when tunnel mode is enabled. Upgrade to a fixed FortiOS release or disable tunnel mode.
What's affected
- FortiOS 5.6.12, 6.0.10, 6.2.4 and 6.4.1 and earlier, per the record and the Fortinet advisory.
- Fixed: 5.6.13, 6.0.11, 6.2.5 and 6.4.2, or a newer release in each branch, per the advisory.
- Workaround: disable tunnel mode.
The record scores it 5.4 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L. The record does not flag it as a CISA Known Exploited Vulnerability, and none of the pages I read report exploitation in the wild.
How to check if you're exposed
On the device run get system status to read the FortiOS version. Then check whether SSL VPN tunnel mode is enabled in the SSL VPN settings.
What to do now
- List FortiGate devices and read each version.
- Compare against FG-IR-20-082 for your branch.
- Upgrade to the fixed build.
- If you cannot upgrade soon, disable tunnel mode.
- Review SSL VPN daemon crash logs for repeated restarts.
After you patch, record the new version for FortiOS SSL VPN in your asset inventory, and confirm it with the same check you used above. A fix that was never verified is easy to forget, and an inventory that shows versions is what lets you answer the next advisory in minutes instead of days.
Why it matters
The record maps the flaw to CWE-122, heap based buffer overflow, and CWE-787, out of bounds write. A large LCP packet is not checked against the buffer size.
Fortinet says arbitrary code execution is theoretically possible but practically very difficult in this context, and rates it medium because the attacker needs valid VPN credentials. VPN edge devices are exposed to the internet, so crashes alone are worth fixing.
To check open source components in your own projects for known CVEs like this one, try the free in-browser dependency scan at gold.safeguard.sh/scan, or look the CVE up in the Gold directory.
Quick check
Is code execution confirmed?
No. Fortinet calls it theoretically possible but practically very difficult, and the confirmed impact is a crash of the SSL VPN daemon.
How do I find every place FortiOS SSL VPN is used?
Start with an inventory of installed software and versions, because you cannot patch what you have not found. Check servers, build hosts, test copies and anything a vendor bundles. For open source libraries, a dependency scan or SBOM gives the same list for your code.
Sources
Last reviewed: 19 October 2026.