CVE-2025-22258: Heap buffer overflow in websocket

Published Oct 14, 2025
·
Updated

A heap-based buffer overflow in Fortinet FortiSRA 1.5.0, 1.4.0 through 1.4.2, FortiPAM 1.5.0, 1.4.0 through 1.4.2, 1.3.0 through 1.3.1, 1.2.0, 1.1.0 through 1.1.2, 1.0.0 through 1.0.3, FortiProxy 7.6.0 through 7.6.1, 7.4.0 through 7.4.7, FortiOS 7.6.0 through 7.6.2, 7.4.0 through 7.4.6, 7.2.0 through 7.2.10, 7.0.2 through 7.0.16, FortiSwitchManager 7.2.1 through 7.2.5 allows attackers to escalate their privilege via specially crafted http requests.

Other sources

An heap-based buffer overflow vulnerability [CWE-122] in FortiOS, FortiProxy, FortiPAM, FortiSRA and FortiSwitchManager nodejs daemon may allow an authenticated attacker to execute arbitrary code or commands via specifically crafted requests.

FortiGuard

Affected Software

31 affected componentsFixes available
Fortinet FortiSRA=1.5.0, >=1.4.0<1.4.3
Fortinet FortiPAM=1.5.0, >=1.4.0<1.4.3, >=1.3.0<1.4.2, =1.2.0, >=1.1.0<1.1.3, >=1.0.0<1.0.4
Fortinet FortiProxy>=7.6.0<7.6.2, >=7.4.0<7.4.8
Fortinet FortiOS>=7.6.0<7.6.3, >=7.4.0<7.4.7, >=7.2.0<=7.2.10, >=7.0.2<=7.0.16
Fortinet FortiSwitchManager>=7.2.1<7.2.6
Fortinet FortiOS>=7.6.0<=7.6.2
Fortinet FortiOS>=7.4.0<=7.4.6
Fortinet FortiOS>=7.2.0<=7.2.10
Fortinet FortiOS>=7.0.2<=7.0.16
Fortinet FortiPAM=.
Fortinet FortiPAM>=1.4.0<=1.4.2
Fortinet FortiPAM>=1.3
Fortinet FortiPAM>=1.2
Fortinet FortiPAM>=1.1
Fortinet FortiPAM>=1.0
Fortinet FortiProxy>=7.6.0<=7.6.1
Fortinet FortiProxy>=7.4.0<=7.4.7
Fortinet FortiSRA=.
Fortinet FortiSRA>=1.4.0<=1.4.2
Fortinet FortiSwitchManager>=7.2.1<=7.2.5
Fortinet FortiOS>=7.0.2<7.0.17
Fortinet FortiOS>=7.2.0<7.2.11
Fortinet FortiOS>=7.4.0<7.4.7
Fortinet FortiOS>=7.6.0<7.6.3
Fortinet FortiPAM>=1.0.0<1.4.3
Fortinet FortiPAM=1.5.0
Fortinet FortiProxy>=7.4.0<7.4.8
Fortinet FortiProxy>=7.6.0<7.6.2
Fortinet FortiSRA>=1.4.0<1.4.3
Fortinet FortiSRA=1.5.0
Fortinet FortiSwitchManager>=7.2.1<7.2.6

Remediation

Information

Upgrade to FortiPAM version 1.6.0 or above Upgrade to FortiPAM version 1.5.1 or above Upgrade to FortiPAM version 1.4.3 or above Fortinet remediated this issue in FortiSASE version 25.1.b and hence customers do not need to perform any action. Upgrade to FortiOS version 7.6.3 or above Upgrade to FortiOS version 7.4.7 or above Upgrade to FortiOS version 7.2.11 or above Upgrade to FortiOS version 7.0.17 or above Upgrade to FortiSRA version 1.6.0 or above Upgrade to FortiSRA version 1.5.1 or above Upgrade to FortiSRA version 1.4.3 or above Upgrade to FortiProxy version 7.6.2 or above Upgrade to FortiProxy version 7.4.8 or above Upgrade to FortiSwitchManager version 7.2.6 or above

Event History

Oct 14, 2025
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·03:22 PM
Data Sourced
via MITRE·03:22 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-22258?

CVE-2025-22258 is classified as a high severity vulnerability due to the potential for a heap-based buffer overflow.

2

How do I fix CVE-2025-22258?

To mitigate CVE-2025-22258, users should update to the latest patched versions of Fortinet products.

3

Which products are affected by CVE-2025-22258?

CVE-2025-22258 affects multiple versions of FortiSRA, FortiPAM, FortiProxy, and FortiOS.

4

Can CVE-2025-22258 lead to remote code execution?

Yes, due to the nature of the buffer overflow, CVE-2025-22258 can potentially allow an attacker to execute arbitrary code remotely.

5

Is there a workaround for CVE-2025-22258 before applying a patch?

Currently, it is recommended to apply the patch for CVE-2025-22258 as there are no official workarounds provided by Fortinet.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203