CWE-779: Logging of Excessive Data
17 CVEs have CWE-779 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 1.952%.
The product logs too much information, making log files hard to process and possibly hindering recovery efforts or forensic analysis after an attack.
Child of CWE-400: Uncontrolled Resource Consumption
Mitigations
- Architecture and Design: Suppress large numbers of duplicate log messages and replace them with periodic summaries. For example, syslog may include an entry that states last message repeated X times when recording repeated events.
- Architecture and Design: Support a maximum size for the log file that can be controlled by the administrator. If the maximum size is reached, the admin should be notified. Also, consider reducing functionality of the product. This may result in a denial-of-service to legitimate product users, but it will prevent the product from adversely impacting the entire system.
- Implementation: Adjust configurations appropriately when the product is transitioned from a debug state to production.
Observed examples
- CVE-2007-0421: server records a large amount of data to the server log when it receives malformed headers
- CVE-2002-1154: Chain: application does not restrict access to front-end for updates, which allows attacker to fill the error log
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-779'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-779'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).