CVEbaza.plCWE DictionaryCWE-482
Common Weakness Enumeration

CWE-482

Comparing instead of Assigning

Category: VariantCVE: 2
Description

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

Extended Description

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

CVE vulnerabilities with CWE-482 (2)
9.1
CVSS
CRITICAL
CVE-2026-26279

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 strings in the panel.adminmail setting. This value is later concatenated into a shell command executed as root by a cron job, where the pipe character | is explicitly whitelisted. The result is full root-level Remote Code Execution. This vulnerability is fixed in 2.3.4.

pub. 2026-03-03
8.8
CVSS
HIGH
CVE-2024-33430

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.

pub. 2024-05-01
Information
ID: CWE-482
Type: Variant
Vulnerabilities: 2
MITRE CWE ↗
← CWE Dictionary