ClassStableTop 25 #20

CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Category: memory

Description

The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Common consequences· 3

  • Integrity / Confidentiality / Availability — Execute Unauthorized Code or Commands, Modify Memory
    If the memory accessible by the attacker can be effectively controlled, it may be possible to execute arbitrary code, as with a standard buffer overflow. If the attacker can overwrite a pointer's worth of memory (usually 32 or 64 bits), they can alter the intended control flow by redirecting a function pointer to their own malicious code. Even when the attacker can only modify a single byte arbitrary code execution can be possible. Sometimes this is because the same problem can be exploited repeatedly to the same effect. Other times it is because the attacker can overwrite security-critical application-specific data -- such as a flag indicating whether the user is an administrator.
  • Availability / Confidentiality — Read Memory, DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory)
    Out of bounds memory access will very likely result in the corruption of relevant memory, and perhaps instructions, possibly leading to a crash. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop.
  • Confidentiality — Read Memory
    In the case of an out-of-bounds read, the attacker may have access to sensitive information. If the sensitive information contains system details, such as the current buffer's position in memory, this knowledge can be used to craft further attacks, possibly with more severe consequences.

Potential mitigations· 5

  • [Requirements]
  • [Architecture and Design]
  • [Operation, Build and Compilation]
  • [Implementation]
  • [Operation, Build and Compilation]

Related CAPEC attack patterns· 12

CAPEC-10CAPEC-100CAPEC-123CAPEC-14CAPEC-24CAPEC-42CAPEC-44CAPEC-45CAPEC-46CAPEC-47CAPEC-8CAPEC-9

References

  1. https://cwe.mitre.org/data/definitions/119.html

Exploits (incoming)10

TypeTargetConfidenceTier
AttackPatternClient-side Injection-induced Buffer Overflowcapec-14100%live
AttackPatternBuffer Overflow via Environment Variablescapec-10100%live
AttackPatternOverflow Binary Resource Filecapec-44100%live
AttackPatternMIME Conversioncapec-42100%live
AttackPatternBuffer Overflow in an API Callcapec-8100%live
AttackPatternBuffer Overflow via Symbolic Linkscapec-45100%live
AttackPatternOverflow Variables and Tagscapec-46100%live
AttackPatternBuffer Manipulationcapec-123100%live
AttackPatternFilter Failure through Buffer Overflowcapec-24100%live
AttackPatternBuffer Overflow in Local Command-Line Utilitiescapec-9100%live

Compliance frameworks addressing this (incoming)6

TypeTargetConfidenceTier
ComplianceControldora-art7100%live
ComplianceControlcis_v8-7100%live
ComplianceControlnis2-art21e100%live
ComplianceControlnis2-art21d100%live
ComplianceControlowasp_top10-a06100%live
ComplianceControliso27001-a.8.8100%live

(incoming)134

TypeTargetConfidenceTier
VulnerabilityCVE-2025-0349cve-2025-03490%live
VulnerabilityCVE-2025-0566cve-2025-05660%live
VulnerabilityCVE-2025-0848cve-2025-08480%live
VulnerabilityCVE-2025-10034cve-2025-100340%live
VulnerabilityCVE-2025-10120cve-2025-101200%live
VulnerabilityCVE-2025-10169cve-2025-101690%live
VulnerabilityCVE-2025-10170cve-2025-101700%live
VulnerabilityCVE-2025-10171cve-2025-101710%live
VulnerabilityCVE-2025-10172cve-2025-101720%live
VulnerabilityCVE-2025-10385cve-2025-103850%live
VulnerabilityCVE-2025-10392cve-2025-103920%live
VulnerabilityCVE-2025-10432cve-2025-104320%live
VulnerabilityCVE-2025-10443cve-2025-104430%live
VulnerabilityCVE-2025-10537cve-2025-105370%live
VulnerabilityCVE-2025-10666cve-2025-106660%live
VulnerabilityCVE-2025-10756cve-2025-107560%live
VulnerabilityCVE-2025-10757cve-2025-107570%live
VulnerabilityCVE-2025-10773cve-2025-107730%live
VulnerabilityCVE-2025-10779cve-2025-107790%live
VulnerabilityCVE-2025-10792cve-2025-107920%live
VulnerabilityCVE-2025-10803cve-2025-108030%live
VulnerabilityCVE-2025-10815cve-2025-108150%live
VulnerabilityCVE-2025-10838cve-2025-108380%live
VulnerabilityCVE-2025-10942cve-2025-109420%live
VulnerabilityCVE-2025-10948cve-2025-109480%live
VulnerabilityCVE-2025-10953cve-2025-109530%live
VulnerabilityCVE-2025-11091cve-2025-110910%live
VulnerabilityCVE-2025-11117cve-2025-111170%live
VulnerabilityCVE-2025-11120cve-2025-111200%live
VulnerabilityCVE-2025-11122cve-2025-111220%live

Showing top 30 of 134 by confidence. Click any target to see the full neighbourhood.

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Buffer Over-read
CWE
Access of Memory Location After End of Buffer
CWE
Buffer Access with Incorrect Length Value
CWE
Use of Out-of-range Pointer Offset
CWE
Buffer Access Using Size of Source Buffer
CWE
Access of Memory Location Before Start of Buffer
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.