Home / Flaw types / CWE-131
CWE-131: incorrect Calculation of Buffer Size
255 CVEs name CWE-131 (Incorrect Calculation of Buffer Size); 1 are exploited in the wild per CISA KEV.
The product does not correctly calculate the size to be used when allocating a buffer.
From MITRE CWE. CWE is a trademark of The MITRE Corporation; Copyright © The MITRE Corporation, used under the CWE Terms of Use. The official CWE entry.
CVEs, newest first
- Nov 18, 2025CVE-2025-61661 GNU grub2: incorrect Calculation of Buffer Size
- Nov 4, 2025CVE-2025-27074 Qualcomm, Inc. Snapdragon: incorrect Calculation of Buffer Size
- Oct 27, 2025CVE-2025-33126 IBM DB2 High Performance Unload: incorrect Calculation of Buffer Size
- Oct 9, 2025CVE-2025-27053 Qualcomm, Inc. Snapdragon: incorrect Calculation of Buffer Size
- Sep 5, 2025CVE-2025-57807 ImageMagick: out-of-bounds write (memory corruption)
- Aug 21, 2025CVE-2025-55297 espressif esp-idf: buffer overflow
- Jul 11, 2025CVE-2025-52955 Juniper Networks Junos OS: incorrect Calculation of Buffer Size
- Jul 8, 2025CVE-2025-27042 Qualcomm, Inc. Snapdragon: incorrect Calculation of Buffer Size
- May 2, 2025CVE-2025-46723 openvm-org openvm: incorrect Calculation of Buffer Size
- Apr 27, 2025CVE-2025-46688 QuickJS Project QuickJS: incorrect Calculation of Buffer Size
- Apr 23, 2025CVE-2025-46393 ImageMagick: incorrect Calculation of Buffer Size
- Apr 23, 2025CVE-2025-43965 ImageMagick: incorrect Calculation of Buffer Size
- Mar 30, 2025CVE-2025-1861 PHP Group PHP: incorrect Calculation of Buffer Size
- Mar 20, 2025CVE-2025-30334 OpenBSD: incorrect Calculation of Buffer Size
- Mar 3, 2025CVE-2025-0288 Paragon Software Migrate OS to SSD: incorrect Calculation of Buffer Size
- Jan 22, 2025CVE-2025-0395 The GNU C Library glibc: incorrect Calculation of Buffer Size
- Jan 17, 2025CVE-2024-11425 Schneider Electric Modicon M580 CPU (part numbers BMEP* and BMEH*, excluding M580 CPU Safety): incorrect Calculation of Buffer Size
- Jan 7, 2025CVE-2024-8361 silabs.com WiSeConnect SDK: incorrect Calculation of Buffer Size
- Nov 19, 2024CVE-2017-13315 Google Android: incorrect Calculation of Buffer Size
- Nov 14, 2024CVE-2024-49776 Justdan96 Tsmuxer: incorrect Calculation of Buffer Size
- Oct 30, 2024CVE-2024-28052 LevelOne WBR-6012: incorrect Calculation of Buffer Size
- Sep 18, 2024CVE-2024-46729 Linux: incorrect Calculation of Buffer Size
- Sep 13, 2024CVE-2024-46684 Linux: incorrect Calculation of Buffer Size
- Sep 11, 2024CVE-2024-39808 Gallagher Controller 6000 and Controller 7000: incorrect Calculation of Buffer Size
- Sep 5, 2024CVE-2024-45287 FreeBSD: incorrect Calculation of Buffer Size
- Aug 21, 2024CVE-2022-48889 Linux: incorrect Calculation of Buffer Size
- Aug 17, 2024CVE-2024-43843 Linux: incorrect Calculation of Buffer Size
- Aug 14, 2024CVE-2024-42259 Linux: incorrect Calculation of Buffer Size
- Jun 4, 2024CVE-2024-5000 CODESYS Control for BeagleBone SL: incorrect Calculation of Buffer Size
- Apr 12, 2024CVE-2024-30405 Juniper Networks Junos OS: incorrect Calculation of Buffer Size
- Apr 3, 2024CVE-2024-26752 Linux: incorrect Calculation of Buffer Size
- Apr 3, 2024CVE-2024-26721 Linux: incorrect Calculation of Buffer Size
- Mar 11, 2024CVE-2024-27237 Google Android: incorrect Calculation of Buffer Size
- Mar 1, 2024CVE-2023-52558 OpenBSD: incorrect Calculation of Buffer Size
- Mar 1, 2024CVE-2023-52557 OpenBSD: incorrect Calculation of Buffer Size
- Feb 28, 2024CVE-2023-50736 Lexmark various: incorrect Calculation of Buffer Size
- Feb 27, 2024CVE-2021-46943 Linux: incorrect Calculation of Buffer Size
- Feb 20, 2024CVE-2024-23606 The Biosig Project libbiosig: incorrect Calculation of Buffer Size
- Feb 14, 2024CVE-2024-23805 F5 BIG-IP: incorrect Calculation of Buffer Size
- Feb 2, 2024CVE-2023-6387 silabs.com GSDK: out-of-bounds write (memory corruption)
- Jan 31, 2024CVE-2023-6780 glibc: incorrect Calculation of Buffer Size
- Jan 25, 2024CVE-2024-23622 IBM Merge Healthcare eFilm Workstation: incorrect Calculation of Buffer Size
- Jan 25, 2024CVE-2024-23621 IBM Merge Healthcare eFilm Workstation: incorrect Calculation of Buffer Size
- Nov 8, 2023CVE-2023-5941 FreeBSD: out-of-bounds write (memory corruption)
- Oct 15, 2023CVE-2023-45871 Linux Kernel: incorrect Calculation of Buffer Size
- Oct 13, 2023CVE-2023-4257 zephyrproject-rtos Zephyr: buffer overflow
- Aug 7, 2023CVE-2023-20798 MediaTek, Inc. MT2713, MT6855, MT6879, MT6886, MT6895, MT6983, MT6985, MT8188, MT8195, MT8395, MT8673: out-of-bounds read
- Jul 11, 2023CVE-2023-36824 redis: heap buffer overflow
- Jun 7, 2023CVE-2023-30575 Apache Software Foundation Apache Guacamole: incorrect Calculation of Buffer Size
- Jun 2, 2023CVE-2023-2687 silabs.com Gecko SDK: out-of-bounds write (memory corruption)
- Apr 24, 2023CVE-2023-24819 RIOT-OS RIOT: incorrect Calculation of Buffer Size
- Apr 4, 2023CVE-2022-33211 Qualcomm, Inc. Snapdragon: improper input validation
- Apr 4, 2023CVE-2022-25731 Qualcomm, Inc. Snapdragon: incorrect Calculation of Buffer Size
- Mar 7, 2023CVE-2023-20627 MediaTek, Inc. MT6879, MT6895, MT6983, MT8167, MT8168: incorrect Calculation of Buffer Size
- Mar 4, 2023CVE-2023-1175 vim/vim: incorrect Calculation of Buffer Size
- Feb 16, 2023CVE-2023-0568 PHP Group PHP: incorrect Calculation of Buffer Size
- Jan 5, 2023CVE-2022-4378 kernel: incorrect Calculation of Buffer Size
- Jan 3, 2023CVE-2022-32651 MediaTek, Inc. MT6879, MT6983: incorrect Calculation of Buffer Size
- Jan 3, 2023CVE-2022-32650 MediaTek, Inc. MT6879, MT6895, MT6983: incorrect Calculation of Buffer Size
- Jan 3, 2023CVE-2022-32649 MediaTek, Inc. MT6895, MT6983: incorrect Calculation of Buffer Size
- Dec 5, 2022CVE-2022-32630 MediaTek, Inc. MT6789, MT6855, MT6895, MT6983, MT8781: incorrect Calculation of Buffer Size
- Dec 5, 2022CVE-2022-32624 MediaTek, Inc. MT6789, MT6855, MT6895, MT6983, MT8168, MT8365, MT8781: incorrect Calculation of Buffer Size
- Nov 18, 2022CVE-2022-41907 tensorflow: incorrect Calculation of Buffer Size
- Nov 18, 2022CVE-2022-41887 tensorflow: incorrect Calculation of Buffer Size
- Nov 18, 2022CVE-2022-41886 tensorflow: incorrect Calculation of Buffer Size
- Nov 18, 2022CVE-2022-41885 tensorflow: incorrect Calculation of Buffer Size
- Nov 14, 2022CVE-2022-31630 PHP Group PHP: incorrect Calculation of Buffer Size
- Nov 8, 2022CVE-2022-39377 sysstat: incorrect Calculation of Buffer Size
- Nov 8, 2022CVE-2022-32618 MediaTek, Inc. MT6833, MT6873, MT6893, MT8798: incorrect Calculation of Buffer Size
- Nov 8, 2022CVE-2022-32617 MediaTek, Inc. MT6789, MT6855, MT6895, MT6983, MT8798: incorrect Calculation of Buffer Size
- Nov 4, 2022CVE-2022-43945 linux_kernel: incorrect Calculation of Buffer Size
- Oct 7, 2022CVE-2022-26474 MediaTek, Inc. MT6789, MT6855, MT6879, MT6895, MT6983: incorrect Calculation of Buffer Size
- Sep 2, 2022CVE-2021-35134 Qualcomm, Inc. Snapdragon Connectivity, Snapdragon Industrial IOT, Snapdragon Mobile: incorrect Calculation of Buffer Size
- Aug 31, 2022CVE-2022-2520 libtiff: incorrect Calculation of Buffer Size
- Aug 24, 2022CVE-2021-4155 kernel: incorrect Calculation of Buffer Size
- Aug 22, 2022CVE-2022-2873 Kernel: incorrect Calculation of Buffer Size
- Jun 13, 2022CVE-2021-37404 Apache Software Foundation Apache Hadoop: out-of-bounds write (memory corruption)
- May 5, 2022CVE-2021-38435 RTI Connext DDS Professional: incorrect Calculation of Buffer Size
- May 5, 2022CVE-2021-38423 GurumNetworks GurumDDS: incorrect Calculation of Buffer Size
- May 3, 2022CVE-2022-22137 Accusoft ImageGear: incorrect Calculation of Buffer Size
- Apr 29, 2022CVE-2021-4206 QEMU: integer overflow
- Apr 15, 2022CVE-2021-44510 Fisglobal Gt.m: incorrect Calculation of Buffer Size
- Mar 7, 2022CVE-2021-40048 Huawei EMUI: incorrect Calculation of Buffer Size
- Mar 7, 2022CVE-2021-40052 Huawei HarmonyOS: incorrect Calculation of Buffer Size
- Oct 25, 2021CVE-2021-40526 Onepeloton Ttr01 Firmware: incorrect Calculation of Buffer Size
- Aug 23, 2021CVE-2020-36475 Arm Mbed Tls: incorrect Calculation of Buffer Size
- Aug 8, 2021CVE-2021-38188 Iced-x86 Project Iced-x86: incorrect Calculation of Buffer Size
- Aug 2, 2021CVE-2021-22415 Huawei EMUI: incorrect Calculation of Buffer Size
- Aug 2, 2021CVE-2021-22392 Huawei EMUI: incorrect Calculation of Buffer Size
- Aug 2, 2021CVE-2021-22391 Huawei EMUI: incorrect Calculation of Buffer Size
- Jul 8, 2021CVE-2021-21793 Accusoft: incorrect Calculation of Buffer Size
- Jun 11, 2021CVE-2021-21824 Accusoft: incorrect Calculation of Buffer Size
- Jun 9, 2021CVE-2020-11240 Qualcomm, Inc. Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon V: incorrec
- Jun 4, 2021CVE-2021-3491 Linux kernel: incorrect Calculation of Buffer Size
- May 14, 2021CVE-2021-29521 tensorflow: incorrect Calculation of Buffer Size
- May 14, 2021CVE-2021-29608 tensorflow: incorrect Calculation of Buffer Size
- May 14, 2021CVE-2021-29529 tensorflow: incorrect Calculation of Buffer Size
- May 14, 2021CVE-2021-29535 tensorflow: incorrect Calculation of Buffer Size
- May 14, 2021CVE-2021-29536 tensorflow: incorrect Calculation of Buffer Size
- May 14, 2021CVE-2021-29537 tensorflow: incorrect Calculation of Buffer Size