Heap Buffer Overflow in GNU C Library Affects Parameter Handling
CVE-2026-18374

4.9MEDIUM

Key Information:

Status
Vendor
CVE Published:
27 August 2026

What is CVE-2026-18374?

A vulnerability exists in the GNU C Library versions up to 2.45 that can lead to a heap buffer overflow. This occurs when an attacker provides a malformed empty string to the ,ccs= syntax extension of the mode argument used in the fopen function. If the input to the fopen function, specifically for the ccs parameter, is not properly validated, applications may be exposed to exploitation. This issue highlights the critical necessity of implementing rigorous input validation when handling user-supplied values to prevent potential attacks and maintain system integrity.

Affected Version(s)

glibc 0 < 2.45

References

CVSS V3.1

Score:
4.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.