CVE 9.8 CRITICAL

scanf %mc off-by-one heap buffer overflow_CVE-2026-5450

9.8 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

Calling the scanf family of functions with a %mc (malloc'd character match) in the GNU C Library version 2.7 to version 2.43 with a format width specifier with an explicit width greater than 1024 could result in a one byte heap buffer overflow.

AI Analysis

Off-by-one heap buffer overflow in scanf function

Basic Information

ID CVE-2026-5450
Source glibc
Published Apr 20, 2026 at 20:55
Modified Apr 21, 2026 at 19:49

Affected Product

Vendor The GNU C Library
Product glibc
Version 2.7
Affected Versions The GNU C Library glibc 2.7

CWE Classification

AI Assessment

AI Score 9.8 / 10
AI Severity Critical
Vendor GNU
Product GNU C Library
Version 2.7-2.43

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.