CWE-1116: Inaccurate Source Code Comments, published in 2023
Filter
The source code contains comments that do not accurately describe or explain aspects of the portion of the code with which the comment is associated.
What the weakness is: CWE-1116 at MITRE. All weaknesses
Ask an AI about CWE-1116
Show the prompt
Explain CWE-1116: Inaccurate Source Code Comments and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1116.html and https://cve.bz/cve/cwe/1116?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.5CVE-2022-30351pdfzorroEPSS 0.7%
PDFZorro PDFZorro Online r20220428 using TCPDF 6.2.5, despite having workflows claiming to correctly remove redacted information from a supplied PDF file, does not properly sanitize this information in all cases, causing redacted informati…
- 7.8CVE-2022-48339gnu emacsEPSS 1.2%
An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. …