{"schemaVersion":3,"id":"CVE-2025-22457","aliases":[],"status":"published","duplicateOf":null,"title":"Ivanti Connect Secure, Policy Secure, and ZTA Gateways Stack-Based Buffer Overflow Vulnerability","description":"A stack-based buffer overflow in Ivanti Connect Secure before version 22.7R2.6, Ivanti Policy Secure before version 22.7R1.4, and Ivanti ZTA Gateways before version 22.8R2.2 allows a remote unauthenticated attacker to achieve remote code execution.","dates":{"published":"2025-04-03T15:20:23.628Z","modified":"2026-08-04T03:55:47.416Z","reserved":null,"kevAdded":["2025-04-04T00:00:00.000Z","2026-04-08T00:00:00.000Z"],"kevDue":["2025-04-11T00:00:00.000Z"]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.99981,"percentile":0.99982,"severity":"critical","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.99981},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.99981,"percentile":0.99982}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.99981,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.99981,"percentile":0.99982}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2025-04-04T00:00:00.000Z","dueDate":"2025-04-11T00:00:00.000Z","requiredAction":"Apply mitigations as set forth in the CISA instructions linked below.","name":"Ivanti Connect Secure, Policy Secure, and ZTA Gateways Stack-Based Buffer Overflow Vulnerability","description":"Ivanti Connect Secure, Policy Secure, and ZTA Gateways contains a stack-based buffer overflow vulnerability that allows a remote unauthenticated attacker to achieve remote code execution.","notes":[{"type":"text","value":"CISA Mitigation Instructions: https://www.cisa.gov/cisa-mitigation-instructions-cve-2025-22457"},{"type":"text","value":"Additional References: https://forums.ivanti.com/s/article/April-Security-Advisory-Ivanti-Connect-Secure-Policy-Secure-ZTA-Gateways-CVE-2025-22457"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2025-22457","label":"nvd.nist.gov/vuln/detail/CVE-2025-22457"}],"vendor":"Ivanti","product":"Connect Secure, Policy Secure, and ZTA Gateways","ransomware":true,"ransomwareUse":"Known","exploitationType":null},{"source":"enisa","sourceLabel":"ENISA","dateAdded":"2026-04-08T00:00:00.000Z","dueDate":null,"requiredAction":null,"name":null,"description":"Evidence of active exploitation in the wild against ICS 9.X (end of life) and 22.7R2.5 and earlier versions since April 2025.","notes":[],"vendor":"Ivanti","product":"Ivanti Connect Secure","ransomware":false,"ransomwareUse":null,"exploitationType":"unknown"}],"listedCount":2,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2025-04-04T00:00:00.000Z","dueDate":"2025-04-11T00:00:00.000Z","requiredAction":"Apply mitigations as set forth in the CISA instructions linked below.","name":"Ivanti Connect Secure, Policy Secure, and ZTA Gateways Stack-Based Buffer Overflow Vulnerability","description":"Ivanti Connect Secure, Policy Secure, and ZTA Gateways contains a stack-based buffer overflow vulnerability that allows a remote unauthenticated attacker to achieve remote code execution.","notes":[{"type":"text","value":"CISA Mitigation Instructions: https://www.cisa.gov/cisa-mitigation-instructions-cve-2025-22457"},{"type":"text","value":"Additional References: https://forums.ivanti.com/s/article/April-Security-Advisory-Ivanti-Connect-Secure-Policy-Secure-ZTA-Gateways-CVE-2025-22457"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2025-22457","label":"nvd.nist.gov/vuln/detail/CVE-2025-22457"}],"vendor":"Ivanti","product":"Connect Secure, Policy Secure, and ZTA Gateways","ransomware":true,"ransomwareUse":"Known","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":true,"entry":{"source":"enisa","sourceLabel":"ENISA","dateAdded":"2026-04-08T00:00:00.000Z","dueDate":null,"requiredAction":null,"name":null,"description":"Evidence of active exploitation in the wild against ICS 9.X (end of life) and 22.7R2.5 and earlier versions since April 2025.","notes":[],"vendor":"Ivanti","product":"Ivanti Connect Secure","ransomware":false,"ransomwareUse":null,"exploitationType":"unknown"}},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"known","sources":["cisa"]},"exploits":[{"id":"MSF_EXPLOIT_LINUX_HTTP_IVANTI_CONNECT_SECURE_STACK_OVERFLOW_RCE_CVE_2025_22457","name":"Ivanti Connect Secure Unauthenticated Remote Code Execution via Stack-based Buffer Overflow","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/ivanti_connect_secure_stack_overflow_rce_cve_2025_22457.rb","maturity":"weaponized","reliabilityScore":0.8333333333333334,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/ivanti_connect_secure_stack_overflow_rce_cve_2025_22457","rank":"500","rankName":"great","postAuth":false,"check":true,"stability":["crash-service-restarts"],"sideEffects":["ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":1,"weaknesses":[{"id":"CWE-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"ivanti","product":"connect_secure","name":"Connect Secure","label":"connect_secure","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 22.7","noFixRecorded":false,"fixedIn":null},{"text":"22.7","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1.1","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1.2","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1.3","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1.4","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1.5","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r2","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r2.1","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r2.2","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r2.3","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r2.4","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 22.7 | 22.7 | 22.7:r1 | 22.7:r1.1 | 22.7:r1.2 | 22.7:r1.3 | 22.7:r1.4 | 22.7:r1.5 | 22.7:r2 | 22.7:r2.1 | 22.7:r2.2 | 22.7:r2.3 | 22.7:r2.4 | 22.7:r2.5","eol":null,"hubHref":"/vendor/ivanti/connect_secure"},{"vendor":"ivanti","product":"policy_secure","name":"policy secure","label":"policy_secure","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 22.7","noFixRecorded":false,"fixedIn":null},{"text":"22.7","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1.1","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1.2","noFixRecorded":false,"fixedIn":null},{"text":"22.7:r1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 22.7 | 22.7 | 22.7:r1 | 22.7:r1.1 | 22.7:r1.2 | 22.7:r1.3","eol":null,"hubHref":"/vendor/ivanti/policy_secure"},{"vendor":"ivanti","product":"zero_trust_access_gateway","name":"zero trust access gateway","label":"zero_trust_access_gateway","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 22.8","noFixRecorded":false,"fixedIn":null},{"text":"22.8","noFixRecorded":false,"fixedIn":null},{"text":"22.8:r2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 22.8 | 22.8 | 22.8:r2.1","eol":null,"hubHref":"/vendor/ivanti/zero_trust_access_gateway"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://forums.ivanti.com/s/article/April-Security-Advisory-Ivanti-Connect-Secure-Policy-Secure-ZTA-Gateways-CVE-2025-22457","label":"forums.ivanti.com/s/…","hostname":"forums.ivanti.com","tags":["Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-22457","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-22457","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-04-03T15:20:23.628Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2025-04-04T00:00:00.000Z","label":"Added to CISA KEV","detail":"Ivanti Connect Secure, Policy Secure, and ZTA Gateways Stack-Based Buffer Overflow Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2025-04-11T00:00:00.000Z","label":"CISA remediation due","detail":"Apply mitigations as set forth in the CISA instructions linked below.","source":"cisa"},{"kind":"kev-added","date":"2026-04-08T00:00:00.000Z","label":"Added to ENISA KEV","detail":"Added to the ENISA known exploited vulnerabilities catalog.","source":"enisa"},{"kind":"modified","date":"2026-08-04T03:55:47.416Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T21:39:44.429Z","stale":false,"partial":false}}