CWE-131: Incorrect Calculation of Buffer Size

The product does not correctly calculate the size to be used when allocating a buffer.

199 published CVE records name this weakness. Abstraction: Base. Status: Draft. CWE-131 at MITRE

CVETitleCVSSEPSSPublished
CVE-2026-129804 FoE Filename Matching Bypass via Length Truncation 4.2 medium 0.18% 21 Nov 2026
CVE-2026-52787 BACnet Stack: Global APDU transmit buffer out-of-bounds write in device.address-binding response encoding via address_list_encode() 7.5 high 0.49% 13 Nov 2026
CVE-2026-47711 BACnet Stack: Stack buffer overflow in Loop internal ReadProperty path via Life_Safety_Zone.accepted-modes on the default BACnet/IP server 8.6 high 0.36% 12 Nov 2026
CVE-2026-61383 n/a Intel(R) TDX Migration Trust Domain (MigTD): Incorrect Calculation of Buffer Size 2.0 low 0.12% 10 Nov 2026
CVE-2026-91758 Out-of-bounds Read and Write Vulnerability in Hitachi Dynamic Link Manager for Linux 7.8 high 0.16% 10 Nov 2026
CVE-2026-120010 Memory Corruption vulnerability in SAP NetWeaver Application Server (SAP Message Server) 7.5 high 0.55% 10 Nov 2026
CVE-2026-125233 FFmpeg through 9.0.2 Heap Buffer Overflow via DVB Subtitle Encoder 8.5 high 0.20% 9 Nov 2026
CVE-2026-125210 FFmpeg through 9.0.2 Heap Overflow in libaribcaption Text Subtitle Decoding 7.3 high 0.18% 9 Nov 2026
CVE-2026-125209 FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Buffer Overflow via dvdsubenc.c 8.5 high 0.20% 9 Nov 2026
CVE-2026-116788 FreeSWITCH: Pre-authentication heap buffer overflow in core XML empty-entity decoding 8.2 high 0.57% 5 Nov 2026
CVE-2026-116570 FreeSWITCH: Pre-authentication stack buffer overflow in mod_xml_rpc HTTP directory authentication 7.5 high 0.99% 5 Nov 2026
CVE-2026-57192 Asterisk: Out-of-Bounds Write in Codec2 Decoder Due to Floor/Ceil Sample Count Mismatch 6.0 medium 0.89% 27 Oct 2026
CVE-2026-112709 Fireware OS Heap Buffer Overflow in AD Authentication Service Allows Pre-Authentication Remote Code Execution 9.2 critical 0.67% 27 Oct 2026
CVE-2026-112710 Fireware OS Heap Buffer Overflow in AD Authentication Service Allows Pre-Authentication Remote Code Execution 9.2 critical 0.67% 27 Oct 2026
CVE-2026-107590 Out-of-bounds write vulnerability in QTextCodec iconv-based encoding impacts Qt 1.9 low 0.17% 27 Oct 2026
CVE-2026-116737 libphdi through 20260902 Heap Out-of-Bounds Read via Extent Data File Path 6.9 medium 0.17% 26 Oct 2026
CVE-2026-82944 Buffer Overflow in CoE SDO Upload Multi-Segment Data Transfers 8.8 high 0.35% 26 Oct 2026
CVE-2026-97631 Pre-boot RCE in EDK II PXE driver 9.5 critical 0.76% 22 Oct 2026
CVE-2020-37287 Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments 8.2 high 0.31% 21 Oct 2026
CVE-2026-95111 Module queue front-send validates a word count as a byte count 4.8 medium 0.15% 20 Oct 2026
CVE-2026-112008 libmng through 2.0.3 Heap Buffer Overflow via ORDR Chunk Reader mng_read_ordr 6.9 medium 0.19% 18 Oct 2026
CVE-2026-92156 F´: EventManager asserts on legal oversized LogBuffer values delivered over the standard GenericHub event bridge 6.5 medium 0.38% 14 Oct 2026
CVE-2026-102027 Junos OS and Junos OS Evolved: A configured BGP neighbor causes rpd crash when multipath next-hops are processed 8.7 high 0.46% 14 Oct 2026
CVE-2026-86563 Dpdk: dpdk: double offset bug in vhost log mapping calculation 7.8 high 0.20% 14 Oct 2026
CVE-2026-106574 ImageMagick: Heap Buffer Over-Write in distributed pixel cache server will result in a crash 5.3 medium 0.32% 7 Oct 2026
CVE-2026-104424 Zebra before 6.1.0 Incorrect Block Size Calculation in getblocktemplate 6.3 medium 0.35% 2 Oct 2026
CVE-2026-102505 Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp 6.3 medium 0.39% 1 Oct 2026
CVE-2026-47578 NVIDIA GeForce: Incorrect Calculation of Buffer Size 7.8 high 0.19% 30 Sep 2026
CVE-2026-102729 Eclipse Foundation GUIX: Incorrect Calculation of Buffer Size 5.9 medium 0.17% 29 Sep 2026
CVE-2026-95509 Out-of-bounds read vulnerability in string formatting impacts Qt for MCUs 8.8 high 0.43% 29 Sep 2026
CVE-2026-13466 Unit Confusion in VAB Authentication 8.3 high 0.16% 24 Sep 2026
CVE-2026-88355 An incorrect buffer size calculation vulnerability exists in tinyexpr commit 4a7456e in new_expr() 7.5 high 0.49% 24 Sep 2026
CVE-2026-88830 Busybox: busybox: tls montgomery reduction allocates bytes instead of digits, causing a pre-auth heap buffer overflow 7.5 high 0.62% 23 Sep 2026
CVE-2026-84448 libheif: Heap out-of-bounds read in libheif inline-mask region API (heif_region_item_add_region_inline_mask_data / heif_region_get_mask_image) 4.0 medium 0.15% 18 Sep 2026
CVE-2026-67549 OpenImageIO: TIFF 1-bit CMYK bit conversion heap out-of-bounds write 7.6 high 0.39% 18 Sep 2026
CVE-2026-54692 SAIL: XBM X10 decoder writes 2 bytes per literal into a 1-byte-per-literal buffer (heap out-of-bounds write) 7.8 high 0.19% 17 Sep 2026
CVE-2026-91962 FreeRDP before 3.31.0 Integer Overflow via audin Apple backends 5.3 medium 0.26% 15 Sep 2026
CVE-2026-47773 ArduinoBLE: Memory corruption via malformed ATT write request 7.2 high 0.15% 11 Sep 2026
CVE-2026-22590 Fast-DDS Discovery Server: Out-of-Bounds Read & Heap Memory Disclosure via DATA_FRAG  sampleSize / fragmentsInSubmessage 9.1 critical 0.54% 9 Sep 2026
CVE-2026-69598 Windows iSCSI Remote Code Execution Vulnerability 8.8 high 0.82% 8 Sep 2026
CVE-2026-78221 OpenVPN: Incorrect Calculation of Buffer Size 5.9 medium 0.12% 7 Sep 2026
CVE-2026-18743 Popt-devel: popt-static: short realloc in poptconfigfiletostring 2.5 low 0.14% 1 Sep 2026
CVE-2026-78002 Rsyslog: rsyslog: denial of service via heap buffer overflow in rainerscript replace() function 7.5 high 1.06% 27 Aug 2026
CVE-2026-44254 Wazuh: Stack Out-of-Bounds Write in remoted Decompression Path 5.3 medium 0.50% 19 Aug 2026
CVE-2026-52834 jxl-oxide: Out-of-bounds writes due to integer overflow in jxl-grid on 32-bit platforms 7.3 high 0.17% 19 Aug 2026
CVE-2026-75093 sonos tract ONNX Initializer Loader tensor.rs from_raw_dt_align buffer size 5.3 medium 0.59% 18 Aug 2026
CVE-2026-70457 rsync 3.2.3 < 3.5.0 Out-of-Bounds Write via parse_size_arg() 8.3 high 0.38% 13 Aug 2026
CVE-2026-68287 drop_monitor: fix size calculations for 64-bit attributes 7.5 high 0.68% 10 Aug 2026
CVE-2026-42170 Gimp: gimp dds plug-in heap-based buffer overflow via bpp mismatch in load_layer() (ddsread.c) 7.8 high 0.19% 8 Aug 2026
CVE-2026-42169 Gimp: gimp apng loader heap-buffer-overflow when fctl width exceeds ihdr width (file-png.c) 7.3 high 0.19% 4 Aug 2026