cve.bz

CWE-467: Use of sizeof() on a Pointer Type, published in 2025

Filter

The code calls sizeof() on a pointer type, when the programmer intended to determine the size of the data that is being pointed to.

What the weakness is: CWE-467 at MITRE. All weaknesses

Ask an AI about CWE-467

Show the promptExplain CWE-467: Use of sizeof() on a Pointer Type and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/467.html and https://cve.bz/cve/cwe/467?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

  1. 6.5CVE-2025-33132ibm db2 high performance unload loadEPSS 0.6%

    IBM DB2 High Performance Unload 6.1.0.3, 5.1.0.1, 6.1.0.2, 6.5, 6.5.0.0 IF1, 6.1.0.1, 6.1, and 5.1 could allow an authenticated user to cause the program to crash due to the incorrect calculation of the size of the data that is being point…