Common Weakness Enumeration

CWE-131 Incorrect Calculation of Buffer Size

Description

The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.

Associated Reviewed Advisories

Vulnerabilities classified under CWE-131 ordered by modification date.

25 reviewed records
Advisory ID NVD ID Severity PURLs Summary Last Modified
GHSA-x2f5-4prf-w687 CVE-2026-54696 LOW

Ruby json: JSON generator heap buffer overflow when streaming to an IO

2026-07-23
GHSA-5pmv-rx8r-wmv5 CVE-2026-52834 HIGH -

jxl-grid on 32-bit platforms has an out-of-bounds writes due to integer overflow

2026-07-02
GHSA-66m8-c62j-h6v5 - MODERATE -

jxl-oxide: `FrameBuffer::new` creates out-of-bounds slices on overflow

2026-07-02
GHSA-jcqp-6r6f-3mfx CVE-2026-46521 MODERATE

ImageMagick: Heap Buffer Over-Write in MIFF encoder when using LZMA compression

2026-06-11
GHSA-83vm-p52w-f9pw CVE-2026-44223 MODERATE

vLLM: extract_hidden_states speculative decoding crashes server on any request with penalty parameters

2026-06-08
GHSA-phqj-4mhp-q6mq CVE-2026-45784 MODERATE -

rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for AES-KW-PAD ciphers

2026-05-19
GHSA-pqf5-4pqq-29f5 CVE-2026-41676 HIGH -

rust-openssl: Deriver::derive and PkeyCtxRef::derive can overflow short buffers on OpenSSL 1.1.1

2026-04-27
GHSA-jj7c-x25r-r8r3 CVE-2026-41197 CRITICAL -

Brillig: Heap corruption in foreign call results with nested tuple arrays

2026-04-27
GHSA-23hg-53q6-hqfg CVE-2025-57807 LOW

ImageMagick BlobStream Forward-Seek Under-Allocation

2025-11-03
GHSA-jf2r-x3j4-23m7 CVE-2025-46723 HIGH -

OpenVM allows the byte decomposition of pc in AUIPC chip to overflow

2025-05-05
GHSA-rgvq-pcvf-hx75 CVE-2021-29608 MODERATE

Heap OOB and null pointer dereference in `RaggedTensorToTensor`

2024-11-13
GHSA-4hrh-9vmp-2jgg CVE-2021-29542 LOW

Heap buffer overflow in `StringNGrams`

2024-10-31
GHSA-8c89-2vwr-chcq CVE-2021-29537 LOW

Heap buffer overflow in `QuantizedResizeBilinear`

2024-10-30
GHSA-m3f9-w3p3-p669 CVE-2021-29535 LOW

Heap buffer overflow in `QuantizedMul`

2024-10-30
GHSA-jfp7-4j67-8r3q CVE-2021-29529 LOW

Heap buffer overflow caused by rounding

2024-10-30
GHSA-hmg3-c7xj-6qwm CVE-2021-29545 LOW

Heap buffer overflow in `SparseTensorToCSRSparseMatrix`

2024-10-30
GHSA-hr84-fqvp-48mm CVE-2021-29521 LOW

Segfault in SparseCountSparseOutput

2024-10-28
GHSA-rmpj-7c96-mrg8 CVE-2021-37404 CRITICAL

Apache Hadoop heap overflow before v2.10.2, v3.2.3, v3.3.2

2023-06-27
GHSA-m8h8-v6jh-c762 CVE-2020-35904 MODERATE -

Incorrect buffer size in crossbeam-channel

2023-06-13
GHSA-368v-7v32-52fx CVE-2022-41907 MODERATE

Overflow in `ResizeNearestNeighborGrad`

2022-11-21
GHSA-8fvv-46hw-vpg3 CVE-2022-41887 MODERATE

Overflow in `tf.keras.losses.poisson`

2022-11-21
GHSA-54pp-c6pp-7fpx CVE-2022-41886 MODERATE

Overflow in `ImageProjectiveTransformV2`

2022-11-21
GHSA-762h-vpvw-3rcx CVE-2022-41885 MODERATE

Overflow in `FusedResizeAndPadConv2D`

2022-11-21
GHSA-v935-pqmr-g8v9 - MODERATE -

Unexpected panics in num-bigint

2021-11-03
GHSA-jjx5-3f36-6927 CVE-2021-38188 CRITICAL -

Incorrect buffer size calculation in iced-x86

2021-08-18