CWE-131Base

Incorrect Calculation of Buffer Size

Draft in the CWE catalog · 127 CVEs mapped

127
CVEs mapped
7.3
Median CVSS
What it is

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

Recent examples
2.5cvss
CVE-2026-18743

CVE-2026-18743 - LOW Severity Vulnerability

A flaw was found in popt. This vulnerability allows an attacker to provide specially crafted configuration content to a host, which, when loaded, can lead to a small memory corruption issue. This occurs because of an error in how the `poptConfigFileToString` function reallocates memory for buffers. Successful exploitation could result in heap metadata corruption, potentially causing the affected process to become unavailable (denial of service).

LOWno explanation yet
0%
epss
7.5cvss
CVE-2026-78002

CVE-2026-78002 - HIGH Severity Vulnerability

A flaw was found in rsyslog. An unauthenticated remote attacker can trigger a heap buffer overflow in the RainerScript `replace()` function by sending specially crafted syslog messages. This vulnerability arises from an incorrect buffer size calculation during string replacement, causing memory corruption. Successful exploitation can lead to a denial of service (DoS) for the affected system.

HIGHno explanation yet
1%
epss
7.5cvss
CVE-2026-16924

CVE-2026-16924 - HIGH Severity Vulnerability

IBM AIX 7.2, and 7.3 and IBM PowerVM VIOS 4.1 could allow a remote attacker to cause a denial of service due to an improper calculation of a memory offset during IPsec decapsulation.

HIGHno explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-131
Abstraction
Base
Structure
Simple
Status
Draft
References (17)