{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-18374 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-18374 is a medium-severity memory corruption vulnerability in The GNU C Library glibc, published on 27 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-18374 and fix it if it is affected.\n\nWhat it is: CVE-2026-18374 is a medium-severity memory corruption vulnerability in The GNU C Library glibc, published on 27 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-18374 in the wild and no public exploit code.\n\nAffected product: The GNU C Library glibc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-18374/ (Markdown: https://insights.sbomify.com/CVE-2026-18374/index.md)","id":"CVE-2026-18374","markdown":"https://insights.sbomify.com/CVE-2026-18374/index.md","name":"CVE-2026-18374","record":{"aliases":["AZL-98042","BELL-CVE-2026-18374","DEBIAN-CVE-2026-18374","ECHO-9169-1fd9-0c1c","GHSA-qg52-8pr2-xj9v","OESA-2026-3793","OESA-2026-3794","OESA-2026-3795","OESA-2026-3921","RHSA-2026:65339","UBUNTU-CVE-2026-18374"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU C Library","requires_auth":"none","summary":"Heap buffer overflow in glibc fopen allows code execution or denial of service when attacker-controlled mode strings are used.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"glibc","cpe":[],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"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\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.","ecosystems":["Red Hat:hummingbird:1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in glibc","id":"CVE-2026-18374","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":228,"n_references":2,"next":{"headline":"Server-side request forgery in Cost Management 4","id":"CVE-2026-18378"},"packages":[{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"compat-libpthread-nonshared","purl":"pkg:rpm/redhat/compat-libpthread-nonshared","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-all-langpacks","purl":"pkg:rpm/redhat/glibc-all-langpacks","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-benchtests","purl":"pkg:rpm/redhat/glibc-benchtests","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-doc","purl":"pkg:rpm/redhat/glibc-doc","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-gconv-extra","purl":"pkg:rpm/redhat/glibc-gconv-extra","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-aa","purl":"pkg:rpm/redhat/glibc-langpack-aa","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-af","purl":"pkg:rpm/redhat/glibc-langpack-af","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-agr","purl":"pkg:rpm/redhat/glibc-langpack-agr","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ak","purl":"pkg:rpm/redhat/glibc-langpack-ak","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-am","purl":"pkg:rpm/redhat/glibc-langpack-am","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-an","purl":"pkg:rpm/redhat/glibc-langpack-an","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-anp","purl":"pkg:rpm/redhat/glibc-langpack-anp","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ar","purl":"pkg:rpm/redhat/glibc-langpack-ar","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-as","purl":"pkg:rpm/redhat/glibc-langpack-as","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ast","purl":"pkg:rpm/redhat/glibc-langpack-ast","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ayc","purl":"pkg:rpm/redhat/glibc-langpack-ayc","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-az","purl":"pkg:rpm/redhat/glibc-langpack-az","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-be","purl":"pkg:rpm/redhat/glibc-langpack-be","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bem","purl":"pkg:rpm/redhat/glibc-langpack-bem","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ber","purl":"pkg:rpm/redhat/glibc-langpack-ber","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bg","purl":"pkg:rpm/redhat/glibc-langpack-bg","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bhb","purl":"pkg:rpm/redhat/glibc-langpack-bhb","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bho","purl":"pkg:rpm/redhat/glibc-langpack-bho","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bi","purl":"pkg:rpm/redhat/glibc-langpack-bi","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bn","purl":"pkg:rpm/redhat/glibc-langpack-bn","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bo","purl":"pkg:rpm/redhat/glibc-langpack-bo","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-br","purl":"pkg:rpm/redhat/glibc-langpack-br","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-brx","purl":"pkg:rpm/redhat/glibc-langpack-brx","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bs","purl":"pkg:rpm/redhat/glibc-langpack-bs","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-byn","purl":"pkg:rpm/redhat/glibc-langpack-byn","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ca","purl":"pkg:rpm/redhat/glibc-langpack-ca","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ce","purl":"pkg:rpm/redhat/glibc-langpack-ce","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-chr","purl":"pkg:rpm/redhat/glibc-langpack-chr","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ckb","purl":"pkg:rpm/redhat/glibc-langpack-ckb","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-cmn","purl":"pkg:rpm/redhat/glibc-langpack-cmn","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-crh","purl":"pkg:rpm/redhat/glibc-langpack-crh","source":"RHSA-2026:65339"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.5.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-cs","purl":"pkg:rpm/redhat/glibc-langpack-cs","source":"RHSA-2026:65339"}],"prev":{"headline":"CSS injection in M-Files Web","id":"CVE-2026-18372"},"products":["glibc"],"published":"2026-08-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-28","vendors":["The GNU C Library"]},"summary":"Heap buffer overflow in glibc fopen allows code execution or denial of service when attacker-controlled mode strings are used.","url":"https://insights.sbomify.com/CVE-2026-18374/"}