# CVE-2023-42785: A null pointer dereference in FortiOS versions 7.4.0 through 7.4.1, 7.2.0 through 7.2.5, 7.0 all versions,…

- Vendor: Fortinet, FortiOS
- Severity: MEDIUM (CVSS 3.1 6.4)
- Exploited (CISA KEV): not listed
- EPSS: 0.7% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-23-293, https://fortiguard.fortinet.com/psirt/FG-IR-23-293
- Published: 2025-01-14; updated: 2025-01-14
- Page: https://patchtonight.com/cve/CVE-2023-42785/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiOS 7.4.0 to 7.4.1 | 7.4.2 or later |
| FortiOS 7.2.0 to 7.2.5 | 7.2.6 or later |
| FortiOS 7.0.0 to 7.0.16 | Upgrade past 7.0.16; see the advisory |
| FortiOS 6.4.0 to 6.4.15 | Upgrade past 6.4.15; see the advisory |
| FortiOS 6.2.0 to 6.2.16 | Upgrade past 6.2.16; see the advisory |
| FortiOS 6.0.0 to 6.0.18 | Upgrade past 6.0.18; see the advisory |

## The vendor's description

A null pointer dereference in FortiOS versions 7.4.0 through 7.4.1, 7.2.0 through 7.2.5, 7.0 all versions, 6.4 all versions , 6.2 all versions and 6.0 all versions allows attacker to trigger a denial of service via a crafted http request.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-23-293)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
