CWE-123
Weakness AllowedWrite-what-where Condition
Abstraction: Base · Status: Draft
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.
Mapping guidance
This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
Relationships and members
Modes of introduction
Detection methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Effectiveness: High
Automated Dynamic Analysis
Use tools that are integrated during compilation to insert runtime error-checking mechanisms related to memory safety errors, such as AddressSanitizer (ASan) for C/C++ [REF-1518].
Effectiveness: Moderate
Crafted inputs are necessary to reach the code containing the error, such as generated by fuzzers. Also, these tools may reduce performance, and they only report the error condition - not the original mistake that led to the error.
Content history
updated Time_of_Introduction
updated Applicable_Platforms, Common_Consequences, Relationships, Other_Notes, Taxonomy_Mappings, Weakness_Ordinalities
updated Common_Consequences, Other_Notes
updated Common_Consequences
updated Relationships
updated Relationships
updated Common_Consequences
updated Common_Consequences, References, Relationships
updated Demonstrative_Examples
updated Potential_Mitigations
updated Relationships, Taxonomy_Mappings
updated Relationships
updated Causal_Nature, Common_Consequences, Demonstrative_Examples, Taxonomy_Mappings
updated Relationships
updated Relationships
updated Relationships
updated Relationships, Taxonomy_Mappings
updated Relationships
updated Relationships
updated References
updated Relationships, Taxonomy_Mappings
updated Relationships
updated Mapping_Notes
updated Observed_Examples
updated Relationships
updated Affected_Resources, Functional_Areas, Observed_Examples
updated Applicable_Platforms, Detection_Factors, References
updated References
101 vulnerabilities reference this CWE, most recent first.
GHSA-XM8P-89GF-36FH
Vulnerability from github – Published: 2026-11-20 03:32 – Updated: 2026-11-20 03:32NVIDIA VIRTIO-Net for Bluefield contains a vulnerability in Virtio-Net where a VM user may cause a Write-What-Where condition by crafted message. A successful exploit of this vulnerability may lead to Code Execution in Virtio-Net scope.
{
"affected": [],
"aliases": [
"CVE-2026-65094"
],
"database_specific": {
"cwe_ids": [
"CWE-123"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T03:17:36Z",
"severity": "CRITICAL"
},
"details": "NVIDIA VIRTIO-Net for Bluefield contains a vulnerability in Virtio-Net where a VM user may cause a Write-What-Where condition by crafted message. A successful exploit of this vulnerability may lead to Code Execution in Virtio-Net scope.",
"id": "GHSA-xm8p-89gf-36fh",
"modified": "2026-11-20T03:32:46Z",
"published": "2026-11-20T03:32:46Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-65094"
},
{
"type": "WEB",
"url": "https://github.com/NVIDIA/product-security/tree/main/2026/5815"
},
{
"type": "WEB",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-65094"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Mitigation
Strategy: Language Selection
Use a language that provides appropriate memory abstractions.
Mitigation
Use OS-level preventative functionality integrated after the fact. Not a complete solution.
No CAPEC attack patterns related to this CWE.