cve.bz

CWE-482: Comparing instead of Assigning, published in 2024

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.

By year: all 2026 2025 2024 2023 2022 2021

  1. 8.8CVE-2024-33430stsaz phiolaEPSS 1.8%

    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.