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

Incorrect Check of Function Return Value

The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.

Part of: CWE-573 · Improper Following of Specification by Caller

17CVEs of this type in the archive
1critical (CVSS ≥ 9)
10high severity (7–8.9)
Nov 5, 2026latest published

What it is

The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.

Impact on systems

ScopeImpact
Availability, Integrity Unexpected State, DoS: Crash, Exit, or Restart
An unexpected return value could place the system in a state that could lead to a crash or other unintended behaviors.

How to prevent it

Architecture and Design · Language Selection Use a language or compiler that uses exceptions and requires the catching of those exceptions.
Implementation Properly check all functions which return a value.
Implementation When designing any function make sure you return a value or throw an exception in case of an error.

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

CWE-253 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20171
20232
20242
20252
202610

All CWE-253 CVEs

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