Bug 2525256 (CVE-2026-18374) - CVE-2026-18374 glibc: glibc: Heap buffer overflow via attacker-controlled fopen mode string
Summary: CVE-2026-18374 glibc: glibc: Heap buffer overflow via attacker-controlled fop...
Keywords:
Status: NEW
Alias: CVE-2026-18374
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2526299 2526300 2526301
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-27 20:20 UTC by OSIDB Bzimport
Modified: 2026-08-31 14:13 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-27 20:20:17 UTC
Passing an effectively empty string to the `,ccs=` syntax extension of the mode argument in the `fopen` function in the GNU C Library version 2.45 or earlier may result in a heap buffer overflow when the mode string input to the function is attacker controlled.



This usage pattern is not seen in applications in common GNU/Linux distributions and applications that process user-supplied values for `ccs` should not pass them through without validation.


Note You need to log in before you can comment on or make changes to this bug.