Cyber Posture

CWE · MITRE source

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

Abstraction: Base · CVEs in our corpus: 46

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: 09 May 2026 03:25 UTC

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

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-33572.09.80.00942025-05-28
CVE-2025-550862.09.80.00042025-10-20
CVE-2025-37551.89.10.00112025-05-29
CVE-2024-363421.88.80.00032025-09-06
CVE-2026-335571.89.10.00202026-04-20
CVE-2023-467241.78.60.00452023-11-01
CVE-2024-419281.78.40.00052024-09-05
CVE-2022-218211.67.80.00552022-03-29
CVE-2024-236091.67.80.00392024-03-11
CVE-2024-236121.67.80.00392024-03-11
CVE-2024-104941.67.80.00112024-12-10
CVE-2024-104951.67.80.00112024-12-10
CVE-2024-104961.67.80.00112024-12-10
CVE-2025-26331.67.80.00032025-07-23
CVE-2025-26341.67.80.00032025-07-23
CVE-2025-78481.67.80.00032025-07-29
CVE-2025-78491.67.80.00032025-07-29
CVE-2025-577741.67.80.00032025-09-02
CVE-2025-577751.67.80.00032025-09-02
CVE-2025-577761.67.80.00032025-09-02
CVE-2025-577771.67.80.00032025-09-02
CVE-2025-577781.67.80.00032025-09-02
CVE-2025-91891.67.80.00032025-09-02
CVE-2025-207961.67.80.00012026-01-06
CVE-2020-252411.57.50.00392021-03-15