CWE-467: Use of sizeof() on a Pointer Type

3 CVEs have CWE-467 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 1.320%.

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

Child of CWE-131: Incorrect Calculation of Buffer Size

Mitigations

Observed examples

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources