{"id":"CVE-2023-27997","aliases":["EUVD-2023-31722","GHSA-2hj2-fcr9-9p35"],"status":"published","title":"A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version...","description":"A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.","severity":{"version":"3.1","score":9.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:R","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.8675,"percentile":0.99745,"model":"v2026.06.15"},"facts":{"in_kev":true,"known_exploited":true,"public_exploit":true,"fix_available":false},"cwes":["CWE-122","CWE-787"],"published":"2023-06-13T08:41:47Z","modified":"2026-07-31T04:16:43Z","kev":{"date_added":"2023-06-13","due_date":"2023-07-04","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Known"},"exploitation":[{"source":"euvd","since":"2023-06-13"},{"source":"kev","since":"2023-06-13"}],"exploits":[{"source":"pocgithub","id":"BishopFox/CVE-2023-27997-check","title":"BishopFox/CVE-2023-27997-check","date":"2023-06-16","url":"https://github.com/BishopFox/CVE-2023-27997-check"},{"source":"pocgithub","id":"rio128128/CVE-2023-27997-POC","title":"rio128128/CVE-2023-27997-POC","date":"2023-06-16","url":"https://github.com/rio128128/CVE-2023-27997-POC"},{"source":"pocgithub","id":"imbas007/CVE-2023-27997-Check","title":"imbas007/CVE-2023-27997-Check","date":"2023-06-22","url":"https://github.com/imbas007/CVE-2023-27997-Check"},{"source":"pocgithub","id":"puckiestyle/cve-2023-27997","title":"puckiestyle/cve-2023-27997","date":"2023-06-23","url":"https://github.com/puckiestyle/cve-2023-27997"},{"source":"pocgithub","id":"TechinsightsPro/ShodanFortiOS","title":"TechinsightsPro/ShodanFortiOS","date":"2023-07-11","url":"https://github.com/TechinsightsPro/ShodanFortiOS"},{"source":"pocgithub","id":"Cyb3rEnthusiast/CVE-2023-27997","title":"Cyb3rEnthusiast/CVE-2023-27997","date":"2023-09-03","url":"https://github.com/Cyb3rEnthusiast/CVE-2023-27997"},{"source":"pocgithub","id":"delsploit/CVE-2023-27997","title":"delsploit/CVE-2023-27997","date":"2023-10-12","url":"https://github.com/delsploit/CVE-2023-27997"},{"source":"pocgithub","id":"lexfo/xortigate-cve-2023-27997","title":"lexfo/xortigate-cve-2023-27997","date":"2023-10-12","url":"https://github.com/lexfo/xortigate-cve-2023-27997"},{"source":"pocgithub","id":"node011/CVE-2023-27997-POC","title":"node011/CVE-2023-27997-POC","date":"2024-11-14","url":"https://github.com/node011/CVE-2023-27997-POC"},{"source":"pocgithub","id":"onurkerembozkurt/fgt-cve-2023-27997-exploit","title":"onurkerembozkurt/fgt-cve-2023-27997-exploit","date":"2025-04-18","url":"https://github.com/onurkerembozkurt/fgt-cve-2023-27997-exploit"},{"source":"pocgithub","id":"Vampsecure-Labs/vamp-forticheck","title":"Vampsecure-Labs/vamp-forticheck","date":"2026-07-31","url":"https://github.com/Vampsecure-Labs/vamp-forticheck"},{"source":"pocgithub","id":"abraxas/Fortigate-SSL-VPN-Exploit-Kit","title":"abraxas/Fortigate-SSL-VPN-Exploit-Kit","date":"2026-09-01","url":"https://github.com/abraxas/Fortigate-SSL-VPN-Exploit-Kit"}],"products":[{"vendor":"fortinet","product":"fortios"},{"vendor":"fortinet","product":"fortios and fortiproxy ssl-vpn"},{"vendor":"fortinet","product":"fortios-6k7k"},{"vendor":"fortinet","product":"fortiproxy"}],"references":[{"url":"https://fortiguard.com/psirt/FG-IR-23-097","tags":["x_transferred","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-27997","tags":["government-resource","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27997"},{"url":"https://github.com/advisories/GHSA-2hj2-fcr9-9p35"}],"sources":{"cve":[{"id":"CVE-2023-27997","description":"A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.","status":"published","published":"2023-06-13T08:41:47.415Z","modified":"2026-07-31T03:55:27.798Z","cvss":[{"version":"3.1","score":9.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:R","level":"critical","assessor":"cna"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:35:26.63732Z"}],"euvd":[{"id":"EUVD-2023-31722","description":"A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.","status":"published","published":"2023-06-13T08:41:47Z","modified":"2026-07-31T03:55:27Z","cvss":[{"version":"3.1","score":9.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:R","level":"critical"}],"exploited_since":"2023-06-13","updated_at":"2026-11-02T18:02:26.773248Z"}],"ghsa":[{"id":"GHSA-2hj2-fcr9-9p35","title":"A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version...","description":"A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.","status":"published","published":"2023-06-13T09:30:19Z","modified":"2025-10-22T00:33:51Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T15:04:08.734574Z"}],"kev":[{"id":"CVE-2023-27997","title":"Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability","description":"Fortinet FortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow vulnerability which can allow an unauthenticated, remote attacker to execute code or commands via specifically crafted requests.","cwes":["CWE-122"],"kev":{"date_added":"2023-06-13","due_date":"2023-07-04","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Known"},"updated_at":"2026-11-02T17:00:16.234141Z"}],"nvd":[{"id":"CVE-2023-27997","description":"A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.","status":"published","published":"2023-06-13T09:15:16.613Z","modified":"2026-07-31T04:16:43.707Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T14:08:06.335469Z"}]}}
