cve.bz

CWE-482: Comparing instead of Assigning

Filter

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

What the weakness is: CWE-482 at MITRE. All weaknesses

Ask an AI about CWE-482

Show the promptExplain CWE-482: Comparing instead of Assigning and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/482.html and https://cve.bz/cve/cwe/482?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

  1. 9.1CVE-2026-26279EPSS 0.9%

    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 aut…

  2. 8.8CVE-2024-33430EPSS 1.4%

    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.