← Back to CVE Explorer

CVE-2026-40358

Full vulnerability record from the local CVENow database.

Description

Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally.

Severity
HIGH
CVSS score
8.4 (v3.1)
Vulnerability status
Modified
Source identifier
Published
2026-05-12 18:17:14.543000
Last modified
2026-10-26 18:10:00.173000
View original CVE JSON
{
  "id": "CVE-2026-40358",
  "sourceIdentifier": "[email protected]",
  "published": "2026-05-12T18:17:14.543",
  "lastModified": "2026-10-26T18:10:00.173",
  "vulnStatus": "Modified",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally."
    },
    {
      "lang": "es",
      "value": "Desbordamiento de búfer basado en montículo en Microsoft Office permite a un atacante no autorizado ejecutar código localmente."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Microsoft",
          "product": "Microsoft 365 Apps for Enterprise",
          "platforms": [
            "32-bit Systems",
            "x64-based Systems"
          ],
          "versions": [
            {
              "version": "16.0.1",
              "lessThan": "https://aka.ms/OfficeSecurityReleases",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Microsoft",
          "product": "Microsoft Office 2016",
          "platforms": [
            "32-bit Systems",
            "x64-based Systems"
          ],
          "versions": [
            {
              "version": "16.0.0",
              "lessThan": "16.0.5552.1000",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Microsoft",
          "product": "Microsoft Office 2019",
          "platforms": [
            "32-bit Systems",
            "x64-based Systems"
          ],
          "versions": [
            {
              "version": "19.0.0",
              "lessThan": "https://aka.ms/OfficeSecurityReleases",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Microsoft",
          "product": "Microsoft Office LTSC 2021",
          "platforms": [
            "32-bit Systems",
            "x64-based Systems"
          ],
          "versions": [
            {
              "version": "16.0.1",
              "lessThan": "https://aka.ms/OfficeSecurityReleases",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Microsoft",
          "product": "Microsoft Office LTSC 2024",
          "platforms": [
            "32-bit Systems",
            "x64-based Systems"
          ],
          "versions": [
            {
              "version": "16.0.0",
              "lessThan": "https://aka.ms/OfficeSecurityReleases",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Microsoft",
          "product": "Microsoft Office LTSC for Mac 2021",
          "versions": [
            {
              "version": "16.0.1",
              "lessThan": "16.109.26051019",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Microsoft",
          "product": "Microsoft Office LTSC for Mac 2024",
          "versions": [
            {
              "version": "16.0.0",
              "lessThan": "16.109.26051019",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "baseScore": 8.4,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.5,
        "impactScore": 5.9
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-05-13T03:56:50.574622Z",
          "id": "CVE-2026-40358",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-416"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x64:*",
              "matchCriteriaId": "3259EBFE-AE2D-48B8-BE9A-E22BBDB31378"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x86:*",
              "matchCriteriaId": "CD25F492-9272-4836-832C-8439EBE64CCF"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office:2016:*:*:*:*:*:x64:*",
              "matchCriteriaId": "72324216-4EB3-4243-A007-FEF3133C7DF9"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office:2016:*:*:*:*:*:x86:*",
              "matchCriteriaId": "0FBB0E61-7997-4F26-9C07-54912D3F1C10"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x64:*",
              "matchCriteriaId": "CF5DDD09-902E-4881-98D0-CB896333B4AA"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x86:*",
              "matchCriteriaId": "26A3B226-5D7C-4556-9350-5222DC8EFC2C"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x64:*",
              "matchCriteriaId": "851BAC4E-9965-4F40-9A6C-B73D9004F4C1"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x86:*",
              "matchCriteriaId": "23B2FA23-76F4-4D83-A718-B8D04D7EA37B"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:macos:*:*",
              "matchCriteriaId": "BF0E8112-5B6F-4E55-8E40-38ADCF6FC654"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x64:*",
              "matchCriteriaId": "D31E509A-0B2E-4B41-88C4-0099E800AFE6"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x86:*",
              "matchCriteriaId": "017A7041-BEF1-4E4E-AC8A-EFC6AFEB01FE"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:macos:*:*",
              "matchCriteriaId": "EF3E56B5-E6A6-4061-9380-D421E52B9199"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40358",
      "source": "[email protected]",
      "tags": [
        "Vendor Advisory"
      ]
    }
  ]
}