1. CVE archive
  2. Vulnerability types
  3. CWE-778
CWE-778 · #254 most frequent type in the archive

Insufficient Logging

When a security-critical event occurs, the product either does not record the event or omits important details about the event when logging it.

Part of: CWE-223 · Omission of Security-relevant Information

40CVEs of this type in the archive
1critical (CVSS ≥ 9)
7high severity (7–8.9)
Nov 27, 2026latest published

What it is

When a security-critical event occurs, the product either does not record the event or omits important details about the event when logging it.

Impact on systems

ScopeImpact
Non-Repudiation Hide Activities
Malicious behavior can become more difficult to detect, such as a failed login attempt. This may hinder forensic analysis after an attack succeeds. There will be no trail for forensic analysis, and discovering the cause of problems or the source of attacks may become more difficult or impossible.

How to prevent it

Architecture and Design Use a centralized logging mechanism that supports multiple levels of detail.
Implementation Ensure that all security-related successes and failures can be logged. When storing data in the cloud (e.g., AWS S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to enable and capture detailed logging information.
Operation Be sure to set the level of logging appropriately in a production environment. Sufficient data should be logged to enable system administrators to detect attacks, diagnose errors, and recover from attacks. At the same time, logging too much data (CWE-779) can cause the same problems, including unexpected costs when using a cloud environment.
Operation To enable storage logging using Azure's Portal, navigate to the name of the Storage Account, locate Monitoring (CLASSIC) section, and select Diagnostic settings (classic). For each of the various properties (blob, file, table, queue), ensure the status is properly set for the desired logging data. If using PowerShell, the Set-AzStorageServiceLoggingProperty command could be called using appropriate -ServiceType, -LoggingOperations, and -RetentionDays arguments.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-778 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20191
20202
20212
20222
20232
20244
20254
202623

All CWE-778 CVEs

40 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.