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

Use of Function with Inconsistent Implementations

The code uses a function that has inconsistent implementations across operating systems and versions.

Part of: CWE-758 · Reliance on Undefined, Unspecified, or Implementation-Defined Behavior

11CVEs of this type in the archive
0critical (CVSS ≥ 9)
4high severity (7–8.9)
Jun 24, 2026latest published

What it is

The code uses a function that has inconsistent implementations across operating systems and versions.

The implementation of many functions varies by platform, and at times, even by different versions of the same platform. Implementation differences can include: Slight differences in the way parameters are interpreted, leading to inconsistent results. Some implementations of the function carry significant security risks. The function might not be defined on all platforms. The function might change which return codes it can provide, or change the meaning of its return codes.

Impact on systems

ScopeImpact
Other Quality Degradation, Varies by Context
The use of inconsistent implementations can cause changes in behavior when the code is ported or built under a different environment than the programmer expects, which can lead to security problems in some cases.

How to prevent it

Architecture and Design · Requirements Do not accept inconsistent behavior from the API specifications when the deviant behavior increases the risk level.

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

CWE-474 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20211
20246
20264

All CWE-474 CVEs

11 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.