{"id":"CVE-2026-18374","published":"2026-08-27T19:20:40Z","modified":"2026-08-28T15:37:10Z","title":"Passing an effectively empty string to the `,ccs=` syntax extension of the mode argument in the `fopen` function in…","vendor":"The GNU C Library","product":"glibc","tier":"tail","description":{"text":"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.\n\n\n\nThis 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00144,"percentile":0.03756,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=34574","tags":["issue-tracking"]},{"url":"https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0015","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/27/6","tags":[]}],"priority":{"score":4.2,"factors":[{"name":"EPSS percentile","points":0.75},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"the-gnu-c-library","affectedVersions":[{"vendor":"The GNU C Library","product":"glibc","versions":["< 2.45"]}],"capec":[{"id":"CAPEC-100","name":"Overflow Buffers"},{"id":"CAPEC-47","name":"Buffer Overflow via Parameter Expansion"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-28T15:36:48.992608Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-67222","exploited":false,"provenance":"source"}}