{
  "id": "CVE-2023-40721",
  "url": "https://patchtonight.com/cve/CVE-2023-40721/",
  "page": "automatic",
  "vendor": "Fortinet",
  "product": "FortiPAM, FortiSwitchManager, FortiOS, FortiProxy",
  "title": "Use of externally-controlled format string in FortiPAM, FortiSwitchManager and others",
  "summary": null,
  "published": "2025-02-11",
  "updated": "2026-01-14",
  "severity": "MEDIUM",
  "cvss": {
    "version": "3.1",
    "score": 6.3,
    "vector": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:C"
  },
  "exploited": {
    "cisaKev": false,
    "dateAdded": null,
    "dueDate": null,
    "ransomware": false
  },
  "epss": {
    "score": 0.00243,
    "percentile": 0.15574,
    "date": "2026-11-23"
  },
  "publicExploit": null,
  "patchAvailable": true,
  "affected": [
    {
      "branch": "FortiPAM 1.1.0 to 1.1.2",
      "fixedIn": "Upgrade past 1.1.2; see the advisory"
    },
    {
      "branch": "FortiPAM 1.0.0 to 1.0.3",
      "fixedIn": "Upgrade past 1.0.3; see the advisory"
    },
    {
      "branch": "FortiSwitchManager 7.2.0 to 7.2.2",
      "fixedIn": "7.2.3 or later"
    },
    {
      "branch": "FortiSwitchManager 7.0.0 to 7.0.2",
      "fixedIn": "7.0.3 or later"
    },
    {
      "branch": "FortiOS 7.4",
      "fixedIn": "7.4.2 or later"
    },
    {
      "branch": "FortiOS 7.2.0 to 7.2.5",
      "fixedIn": "7.2.7 or later"
    },
    {
      "branch": "FortiOS 7.0.0 to 7.0.13",
      "fixedIn": "7.0.14 or later"
    },
    {
      "branch": "FortiOS 6.4.0 to 6.4.16",
      "fixedIn": "Upgrade past 6.4.16; see the advisory"
    },
    {
      "branch": "FortiOS 6.2.0 to 6.2.17",
      "fixedIn": "Upgrade past 6.2.17; see the advisory"
    },
    {
      "branch": "FortiProxy 7.4",
      "fixedIn": "7.4.1 or later"
    },
    {
      "branch": "FortiProxy 7.2.0 to 7.2.6",
      "fixedIn": "7.2.8 or later"
    },
    {
      "branch": "FortiProxy 7.0.0 to 7.0.14",
      "fixedIn": "7.0.15 or later"
    },
    {
      "branch": "FortiProxy 2.0.0 to 2.0.14",
      "fixedIn": "Upgrade past 2.0.14; see the advisory"
    },
    {
      "branch": "FortiProxy 1.2.0 to 1.2.13",
      "fixedIn": "Upgrade past 1.2.13; see the advisory"
    }
  ],
  "vendorAdvisory": {
    "id": "FG-IR-23-261",
    "url": "https://fortiguard.com/psirt/FG-IR-23-261"
  },
  "cwe": "Execute unauthorized code or commands",
  "iocs": null,
  "sources": [
    {
      "label": "Fortinet advisory",
      "url": "https://fortiguard.com/psirt/FG-IR-23-261"
    }
  ],
  "attribution": "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."
}