Explore

Rule Explorer

Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.

Public rules
4797
Downloads
7.4M
Verified
4797
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
29 rules matched. Showing 24 loaded rules.
Publish rule
CVE-2026-63072: Openssl Cipher Unwrap Buffer Underallocationcve-2026-63072-openssl-cipher-unwrap-buffer-underallocation

The output buffer for EVP_CipherUpdate is allocated using only the queried output length rather than accommodating the input length. In key-unwrap modes such as AES-WRAP-PAD, integrity failures can write and cleanse up to the input length, causing an out-of-bounds heap write.

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
68quality
CVE-2026-62357: Pmr Allocate Size Integer Overflowcve-2026-62357-pmr-allocate-size-integer-overflow

Manual PMR allocate call with multiplication by sizeof(...) can lead to integer overflow and heap buffer allocation of undersized memory. Prefer using RAII containers (such as std::vector with polymorphic_allocator) or validating bounds before allocating.

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
76quality
CVE-2026-59187: Openexr Inconsistent Channel Buffer Allocationcve-2026-59187-openexr-inconsistent-channel-buffer-allocation

Potential heap buffer overflow: channel sample buffers are allocated based on input header channels instead of output header channels, which can lead to undersized buffer allocation when pixel conversion occurs.

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
72quality
CVE-2026-56135: Ntfs Acl Inheritance Buffer Underallocationcve-2026-56135-ntfs-acl-inheritance-buffer-underallocation

Heap buffer allocation for inherited security descriptor uses static or incomplete slack estimation without accounting for dynamic CREATOR_OWNER and CREATOR_GROUP ACE expansions, potentially causing a heap buffer overflow.

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
70quality
CVE-2026-55777: Offset Used As Length Oobcve-2026-55777-offset-used-as-length-oob

A buffer offset is incorrectly reused as the length parameter in a memory copy operation. If this offset represents an index where a substring was found, it does not correspond to the remaining data length. This mismatch can result in reading beyond the end of the source buffer, leading to an out-of-bounds read and potential memory corruption. Calculate the

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
68quality
CVE-2026-52761: Incorrect Sizeof Pointer Castcve-2026-52761-incorrect-sizeof-pointer-cast

Using 'sizeof' on a pointer cast returns the size of the pointer itself (e.g., 4 or 8 bytes), not the size of the underlying array or buffer. This causes incorrect buffer length calculations, leading to truncations or buffer overflows. Pass the correct buffer capacity or use 'sizeof' directly on the array.

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
70quality
CVE-2026-48706: Fixed Size Buffer Reallocation Bypasscve-2026-48706-fixed-size-buffer-reallocation-bypass

A dynamic length check correctly identifies that the remaining buffer is smaller than the required size, but triggers a flush/reallocation method without passing the required size. If the reallocation uses a predefined fixed size chunk, memory overrun can occur when formatting the string. Ensure that the computed required size is propagated.

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
73quality
CVE-2026-48690: Cpp Integer Truncation Allocationcve-2026-48690-cpp-integer-truncation-allocation

An allocation size calculation is stored in a 32-bit (or smaller) integer variable. This can cause an integer overflow or silent truncation (if `sizeof` or other 64-bit types are involved). A wraparound leads to allocating an unexpectedly small buffer, which can cause a heap-based buffer overflow when data is written to it. Ensure allocation sizes are typed

by Provallyupdated 2026-06-23Apache-2.0
2K0 direct2K via packs
downloads
68quality
CVE-2026-45812: Incorrect Pointer Sizeof Offsetcve-2026-45812-incorrect-pointer-sizeof-offset

A pointer's size is incorrectly used instead of the pointed-to structure's size when advancing a buffer offset. This leads to incorrect buffer size calculation, allowing out-of-bounds reads or buffer overflows. Use sizeof(*pointer) instead of sizeof(pointer).

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
74quality
CVE-2026-41197: Rust Brillig Array Undersize From Discarded Element Typescve-2026-41197-rust-brillig-array-undersize-from-discarded-element-types

The `Array` heap-value-type variant stores its `size` as a raw `u32`, discarding the element-type-aware semi-flattened slot count. When the inner element type is composite (a tuple/struct that occupies multiple Brillig slots per element), allocations sized from this raw count under-allocate the heap buffer and allow out-of-bounds writes when foreign-call/ora

by Provallyupdated 2026-06-12Apache-2.0
2.5K0 direct2.5K via packs
downloads
76quality
CVE-2026-34941: Improper Entityset Capacitycve-2026-34941-improper-entityset-capacity

Initializing a TryEntitySet (which uses direct array indexing based on the element's index value) with a capacity equal to the `.len()` of a sparse or filtered map may result in an insufficient capacity. `len()` represents the number of elements, but `TryEntitySet::with_capacity` expects a maximum possible index length. If the map doesn't contain all contigu

by Provallyupdated 2026-06-12Apache-2.0
2.5K0 direct2.5K via packs
downloads
65quality
CVE-2026-34542: Iccdev Getansisize Buffer Underallocationcve-2026-34542-iccdev-getansisize-buffer-underallocation

Calls to `GetAnsiSize` calculate string length based on wide-character counts rather than actual UTF-8 byte counts. This causes buffer under-allocations and out-of-bounds writes (such as stack buffer overflows) on non-Windows platforms. Use `GetUtf8Size` instead, which properly accounts for multi-byte lengths and null terminators.

by Provallyupdated 2026-06-12Apache-2.0
2.3K0 direct2.3K via packs
downloads
68quality
CVE-2026-32624: Strncat Size Minus Src Lencve-2026-32624-strncat-size-minus-src-len

Incorrect size calculation for strncat/g_strncat. Subtracting the length of the source string from the total size rather than the length of the destination buffer fails to account for data already accumulated in the destination. This can lead to a heap-based buffer overflow. Calculate the remaining size using the destination string length (e.g., size - 1 - s

by Provallyupdated 2026-06-12Apache-2.0
2.5K0 direct2.5K via packs
downloads
72quality
CVE-2026-31971: Htslib Cram Byte Array Len Overruncve-2026-31971-htslib-cram-byte-array-len-overrun

A codec decodes an item length but fails to validate it against the allocated output buffer size before decoding the items into memory. This can lead to a heap or stack buffer overflow when an attacker supplies a byte array length larger than the buffer bounds.

by Provallyupdated 2026-06-12Apache-2.0
2.5K0 direct2.5K via packs
downloads
73quality
CVE-2026-29004: Busybox Ipv6 Buffer Overflowcve-2026-29004-busybox-ipv6-buffer-overflow

An incorrect buffer size calculation for formatting a list of IPv6 addresses leaves no space for a null terminator, leading to a heap buffer overflow. Removing the `- 1` subtraction and explicitly adding space for string termination prevents this corruption.

by Provallyupdated 2026-06-12Apache-2.0
2.5K0 direct2.5K via packs
downloads
65quality
CVE-2026-27820: Cve 2026 27820 Conditional Buffer Expansion Before Memmove Prependcve-2026-27820-cve-2026-27820-conditional-buffer-expansion-before-memmove-prepend

A buffer expansion function is called inside a conditional before a memmove-based prepend (memmove(ptr + len, ptr, filled) / memmove(ptr, src, len)). If the guard condition does not verify that the buffer has at least 'filled + len' bytes of free capacity – i.e., it only checks whether any free space exists rather than enough free space for 'len' additional

by Provallyupdated 2026-06-12Apache-2.0
2.5K0 direct2.5K via packs
downloads
71quality
CVE-2026-15534: Insecure Multiplication Overflow Checkcve-2026-15534-insecure-multiplication-overflow-check

Checking for integer multiplication overflow by testing if the result is less than zero is insecure. Unlike addition, multiplication can easily overflow past the negative range and wrap around to a small positive number (positive wraparound). This effectively bypasses a `< 0` check and can lead to undersized buffer allocations. Verify bounds before multiplic

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
68quality
CVE-2026-14670: Perl Hv Iterinit Sized Buffer Overflowcve-2026-14670-perl-hv-iterinit-sized-buffer-overflow

Sizing a buffer using the return value of hv_iterinit() before iterating with hv_iternext() can lead to a heap buffer overflow when processing tied Perl hashes. Use dynamic buffer reallocation or ignore the count from hv_iterinit().

by Provallyupdated 2026-09-02Apache-2.0
2770 direct277 via packs
downloads
73quality
CVE-2025-69261: Wasm Memory Integer Truncation Bounds Bypasscve-2025-69261-wasm-memory-integer-truncation-bounds-bypass

Detected a potential integer truncation when computing a byte size from an element size and count. By computing `sizeof(T) * count` and implicitly or explicitly mapping it to a 32-bit integer, the product can overflow the 32-bit limit on platforms where size_t is 64 bits. This results in a severely shorter computed length. If this truncated value is subseque

by Provallyupdated 2026-06-12Apache-2.0
2.5K0 direct2.5K via packs
downloads
74quality
CVE-2025-66216: Ais Catcher Cve 2025 66216 Bit Byte Bounds Confusioncve-2025-66216-ais-catcher-cve-2025-66216-bit-byte-bounds-confusion

Bit-vs-byte unit confusion in bounds check against MAX_AIS_LENGTH. The constant MAX_AIS_LENGTH is defined in bits (MAX_AIS_BYTES * 8 = 1024), but shifting the index by `>> 3` converts it to bytes before the comparison. The guard therefore only fires when the bit index reaches ~8x the real buffer capacity, permitting a heap buffer overflow in the subsequent b

by Provallyupdated 2026-06-12Apache-2.0
2.5K0 direct2.5K via packs
downloads
81quality
24 of 29 loaded