{"id":"CVE-2026-18374","aliases":["CVE-2026-18374"],"related":[],"kind":"vulnerability","state":"published","title":"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…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-27T19:20:40.426Z","modified":"2026-09-03T16:43:15.293Z","severity":{"scorer":"glibc","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"glibc","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2.45","status":"affected"}],"vendor":"The GNU C Library","product":"glibc","source":"cvelist"}],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=34574","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0015","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/27/6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"glibc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-28T15:36:48.992Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-18374","url":"https://www.cve.org/CVERecord?id=CVE-2026-18374","licence":"CVE Terms of Use","modified":"2026-08-28T15:37:10.821Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-18374","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18374","licence":"Public domain","modified":"2026-09-03T16:43:15.293Z"}],"updatedAt":"2026-11-25T22:59:35.520Z","epss":{"score":0.00166,"percentile":0.03293,"date":"2026-11-30T12:00:22.000Z"}}