CWE-123: Write-what-where Condition
57 CVEs have CWE-123 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 99.224%.
Any condition where the attacker has the ability to write an arbitrary value to an arbitrary location, often as the result of a buffer overflow.
Child of CWE-787: Out-of-bounds Write
Mitigations
- Architecture and Design: Use a language that provides appropriate memory abstractions.
- Operation: Use OS-level preventative functionality integrated after the fact. Not a complete solution.
Observed examples
- CVE-2019-19911: Chain: Python library does not limit the resources used to process images that specify a very large number of bands (CWE-1284), leading to excessive memory consumption (CWE-789) or an integer overflow (CWE-190).
- CVE-2022-0545: Chain: 3D renderer has an integer overflow (CWE-190) leading to write-what-where condition (CWE-123) using a crafted image.
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-123'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-123'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).