VYPR

CWE-482

Comparing instead of Assigning

VariantDraftLikelihood: Low

Description

The code uses an operator for comparison when the intention was to perform an assignment.

In many languages, the compare statement is very close in appearance to the assignment statement; they are often confused.

Hierarchy (View 1000)

Parents

Children

none

CVEs mapped to this weakness (2)

  • CVE-2024-33430HigMay 1, 2024
    risk 0.57cvss 8.8epss 0.01

    An issue in phiola/src/afilter/pcm_convert.h:513 of phiola v2.0-rc22 allows a remote attacker to execute arbitrary code via the a crafted .wav file.

  • CVE-2026-26279CriMar 3, 2026
    risk 0.52cvss 9.1epss 0.01

    Froxlor is open source server administration software. Prior to 2.3.4, a typo in Froxlor's input validation code (== instead of =) completely disables email format checking for all settings fields declared as email type. This allows an authenticated admin to store arbitrary…