Safeguard
Vulnerability Analysis•

CVE-2023-29181: High Format String Flaw in Fortinet FortiOS

CVE-2023-29181 is a High (CVSS 8.8) format string flaw in the FortiOS Fclicense daemon. Upgrade to FortiOS 7.2.5, 7.0.12, 6.4.13 and later fixed releases.

Safeguard Security Team
3 min read

CVE-2023-29181 is a high severity (CVSS 8.8) externally controlled format string flaw in the Fclicense daemon of Fortinet FortiOS. An authenticated remote attacker may run code or commands with crafted requests. Fixes are FortiOS 7.2.5, 7.0.12, 6.4.13, 6.2.15 and 6.0.17, and FortiProxy 7.2.5, 7.0.11 and 2.0.13.

What's affected

FortiGuard advisory FG-IR-23-119 lists these versions.

  • FortiOS 7.4: not affected.
  • FortiOS 7.2.0 through 7.2.4: upgrade to 7.2.5 or above.
  • FortiOS 7.0.0 through 7.0.11: upgrade to 7.0.12 or above.
  • FortiOS 6.4.0 through 6.4.12: upgrade to 6.4.13 or above.
  • FortiOS 6.2.0 through 6.2.14: upgrade to 6.2.15 or above.
  • FortiOS 6.0.0 through 6.0.16: upgrade to 6.0.17 or above.
  • FortiOS 5.6 down to 4.0, all versions: migrate to a fixed release.
  • FortiPAM 1.1: not affected. FortiPAM 1.0, all versions: migrate to a fixed release.
  • FortiProxy 7.2: upgrade to 7.2.5 or above. FortiProxy 7.0: upgrade to 7.0.11 or above. FortiProxy 2.0: upgrade to 2.0.13 or above.
  • FortiProxy 1.2, 1.1 and 1.0: migrate to a fixed release.

Source conflict to note: the NVD record lists FortiPAM 1.0.0 through 1.0.3, while the advisory says FortiPAM 1.0 all versions. Follow the advisory.

How to check if you're exposed

On a FortiGate or FortiProxy, check the running version from the CLI:

get system status

Compare the Version line to the table in the advisory. You can also read it under the dashboard system information widget. This is a device or appliance issue, not a package you pull from a registry, so a dependency scan will not see it. Safeguard's free in-browser scan at https://gold.safeguard.sh/scan reads dependency manifests and will not detect firmware running on hardware. Use your asset inventory instead.

What to do now

  1. Inventory FortiOS, FortiProxy and FortiPAM units and their versions.
  2. Upgrade to the fixed release for your branch, using Fortinet's upgrade path tool at https://docs.fortinet.com/upgrade-tool.
  3. Where you cannot upgrade immediately, the advisory points to a virtual patch named FortiOS.Fclicense.Daemon.Format.String in FMWP database update 23.104. Confirm it is enabled if you run that service.
  4. Review who holds administrative accounts on these devices, since the attacker must be authenticated.

Why it matters

A format string flaw, CWE-134, happens when attacker supplied text is used as the format argument of a printing function. The function then interprets parts of the input as instructions, which can read or write memory. Fortinet places it in the Fclicense daemon and says it may lead to unauthorized code or command execution.

The advisory rates it High, authenticated, internally discovered, with a temporal score of 8.3 and Known Exploited marked No. It was updated on 15 November 2023 to add IPS package information. The authentication requirement lowers urgency compared with an unauthenticated bug, but stolen or weak admin credentials are common on edge devices.

Quick check

Does the attacker need to log in?

Yes. FortiGuard lists the attack type as authenticated.

Is there a stopgap?

The advisory lists a virtual patch signature, but the fix is the upgrade.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

We email you a link to confirm, and only then add you to the list. Unsubscribe in one click. Privacy

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.