BaseIncomplete

CWE-124Buffer Underwrite ('Buffer Underflow')

Category: memory

Description

The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.

Common consequences· 3

  • Integrity / Availability — Modify Memory, DoS: Crash, Exit, or Restart
    Out of bounds memory access will very likely result in the corruption of relevant memory, and perhaps instructions, possibly leading to a crash.
  • Integrity / Confidentiality / Availability / Access Control / Other — Execute Unauthorized Code or Commands, Modify Memory, Bypass Protection Mechanism, Other
    If the corrupted memory can be effectively controlled, it may be possible to execute arbitrary code. If the corrupted memory is data rather than instructions, the system will continue to function with improper changes, possibly in violation of an implicit or explicit policy. The consequences would only be limited by how the affected data is used, such as an adjacent memory location that is used to specify whether the user has special privileges.
  • Access Control / Other — Bypass Protection Mechanism, Other
    When the consequence is arbitrary code execution, this can often be used to subvert any other security service.

Potential mitigations· 2

  • [Requirements]Choose a language that is not susceptible to these issues.
  • [Implementation]All calculated values that are used as index or for pointer arithmetic should be validated to ensure that they are within an expected range.

References

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

(incoming)8

TypeTargetConfidenceTier
VulnerabilityCVE-2025-27439cve-2025-274390%live
VulnerabilityCVE-2025-27440cve-2025-274400%live
VulnerabilityCVE-2025-53101cve-2025-531010%live
VulnerabilityCVE-2025-62786cve-2025-627860%live
VulnerabilityCVE-2025-68114cve-2025-681140%live
VulnerabilityCVE-2026-0966cve-2026-09660%live
VulnerabilityCVE-2026-34253cve-2026-342530%live
KEVEntryFortinet Multiple Products Stack-Based Buffer Overflow Vulnerabilitykev-cve-2025-327560%live

Related by meaning· 6

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

CWE
Buffer Under-read
CWE
Buffer Over-read
CWE
Access of Memory Location After End of Buffer
CWE
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
CWE
Access of Memory Location Before Start of Buffer
CWE
Buffer Access with Incorrect Length Value
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.