Cyber Resilience

CWE · MITRE source

CWE-1285Improper Validation of Specified Index, Position, or Offset in Input

Abstraction: Base · CVEs in our corpus: 60

The product receives input that is expected to specify an index, position, or offset into an indexable resource such as a buffer or file, but it does not validate or incorrectly validates that the specified index/position/offset has the required properties.

Often, indexable resources such as memory buffers or files can be accessed using a specific position, index, or offset, such as an index for an array or a position for a file. When untrusted input is not properly validated before it is used as an index, attackers could access (or attempt to access) unauthorized portions of these resources. This could be used to cause buffer overflows, excessive resource allocation, or trigger unexpected failures.

Last updated: 22 August 2026 00:25 UTC

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • ID.RA-01
  • PR.PS-02
  • PR.PS-06
  • SI-10 Information Input Validation
Detect
Catch it (CSF Detect / Respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.4.2
  • V2.1.1
  • V2.2.1
  • V2.2.2

NIST 800-53 r5 controls that address this weakness (0)AI-assisted

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2025-3357 7.59.80.00962025-05-28
CVE-2025-67268 7.49.80.00702026-01-02
CVE-2025-550867.39.80.00372025-10-20
CVE-2025-3755 7.09.10.00772025-05-29
CVE-2026-33557 7.09.10.00682026-04-20
CVE-2023-46724 6.88.60.04052023-11-01
CVE-2026-2006 6.88.80.01082026-02-12
CVE-2025-7848 6.57.80.04462025-07-29
CVE-2022-21821 6.27.80.02092022-03-29
CVE-2024-41928 6.28.40.00242024-09-05
CVE-2020-25241 6.07.50.01032021-03-15
CVE-2024-36342 6.08.80.00172025-09-06
CVE-2026-32285 6.07.50.00752026-03-26
CVE-2022-22201 5.97.50.00662022-10-18
CVE-2024-23609 5.97.80.00592024-03-11
CVE-2024-23612 5.97.80.00602024-03-11
CVE-2024-51564 5.97.50.00462024-11-12
CVE-2026-32286 5.97.50.00652026-03-26
CVE-2023-39388 5.87.50.00452023-08-13
CVE-2023-39389 5.87.50.00452023-08-13
CVE-2025-55087 5.87.50.00432025-10-17
CVE-2026-44004 5.87.50.00422026-05-13
CVE-2024-10494 5.77.80.00192024-12-10
CVE-2024-10495 5.77.80.00192024-12-10
CVE-2024-10496 5.77.80.00192024-12-10