{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-0395 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-0395 is a medium-severity memory corruption vulnerability in The GNU C Library glibc, published on 22 Jan 2025. 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-2025-0395 and fix it if it is affected.\n\nWhat it is: CVE-2025-0395 is a medium-severity memory corruption vulnerability in The GNU C Library glibc, published on 22 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-0395 exists.\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-2025-0395/ (Markdown: https://insights.sbomify.com/CVE-2025-0395/index.md)","id":"CVE-2025-0395","markdown":"https://insights.sbomify.com/CVE-2025-0395/index.md","name":"CVE-2025-0395","record":{"aliases":["ALSA-2025:3828","ALSA-2025:4244","AZL-55937","AZL-55965","BELL-CVE-2025-0395","CLSA-2025-1740230107","CLSA-2025-1740470259","CLSA-2025-1760373685","CLSA-2025-1760460711","CLSA-2025-1760542306","CLSA-2025-1760966342","DEBIAN-CVE-2025-0395","DLA-4143-1","ECHO-3bf9-421a-e851","GHSA-4xpw-6594-8f5m","MGASA-2025-0026","MINI-3fpw-5gjp-6qmx","MINI-4hff-6j5q-cp3r","MINI-f6f6-f4j3-4j9h","OESA-2025-1242","RHSA-2025:3828","RHSA-2025:4241","RHSA-2025:4242","RHSA-2025:4243","RHSA-2025:4244","RLSA-2025:3828","RLSA-2025:4244","SUSE-SU-2025:0510-1","SUSE-SU-2025:0562-1","SUSE-SU-2025:0582-1","SUSE-SU-2025:20135-1","SUSE-SU-2025:20236-1","UBUNTU-CVE-2025-0395","USN-7259-1","USN-7259-2","USN-7259-3","openSUSE-SU-2025:14851-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU C Library","requires_auth":"none","summary":"A buffer overflow in glibc's assert() function can lead to code execution or denial of service when assertion messages align with page boundaries.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"glibc","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size"}],"description":"When the assert() function in the GNU C Library versions 2.13 to 2.40 fails, it does not allocate enough space for the assertion failure message string and size information, which may lead to a buffer overflow if the message string size aligns to page size.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::baseos","Red Hat:rhel_eus:9.2::crb","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus:9.4::crb","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in glibc","id":"CVE-2025-0395","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":1670,"n_references":4,"next":{"headline":"exelban stats XPC Service shouldAcceptNewConnection command injection","id":"CVE-2025-0396"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"compat-libpthread-nonshared","purl":"pkg:rpm/almalinux/compat-libpthread-nonshared","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/almalinux/glibc","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-all-langpacks","purl":"pkg:rpm/almalinux/glibc-all-langpacks","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-benchtests","purl":"pkg:rpm/almalinux/glibc-benchtests","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/almalinux/glibc-common","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/almalinux/glibc-devel","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-doc","purl":"pkg:rpm/almalinux/glibc-doc","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-gconv-extra","purl":"pkg:rpm/almalinux/glibc-gconv-extra","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/almalinux/glibc-headers","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-aa","purl":"pkg:rpm/almalinux/glibc-langpack-aa","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-af","purl":"pkg:rpm/almalinux/glibc-langpack-af","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-agr","purl":"pkg:rpm/almalinux/glibc-langpack-agr","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ak","purl":"pkg:rpm/almalinux/glibc-langpack-ak","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-am","purl":"pkg:rpm/almalinux/glibc-langpack-am","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-an","purl":"pkg:rpm/almalinux/glibc-langpack-an","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-anp","purl":"pkg:rpm/almalinux/glibc-langpack-anp","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ar","purl":"pkg:rpm/almalinux/glibc-langpack-ar","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-as","purl":"pkg:rpm/almalinux/glibc-langpack-as","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ast","purl":"pkg:rpm/almalinux/glibc-langpack-ast","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ayc","purl":"pkg:rpm/almalinux/glibc-langpack-ayc","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-az","purl":"pkg:rpm/almalinux/glibc-langpack-az","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-be","purl":"pkg:rpm/almalinux/glibc-langpack-be","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bem","purl":"pkg:rpm/almalinux/glibc-langpack-bem","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ber","purl":"pkg:rpm/almalinux/glibc-langpack-ber","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bg","purl":"pkg:rpm/almalinux/glibc-langpack-bg","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bhb","purl":"pkg:rpm/almalinux/glibc-langpack-bhb","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bho","purl":"pkg:rpm/almalinux/glibc-langpack-bho","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bi","purl":"pkg:rpm/almalinux/glibc-langpack-bi","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bn","purl":"pkg:rpm/almalinux/glibc-langpack-bn","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bo","purl":"pkg:rpm/almalinux/glibc-langpack-bo","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-br","purl":"pkg:rpm/almalinux/glibc-langpack-br","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-brx","purl":"pkg:rpm/almalinux/glibc-langpack-brx","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bs","purl":"pkg:rpm/almalinux/glibc-langpack-bs","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-byn","purl":"pkg:rpm/almalinux/glibc-langpack-byn","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ca","purl":"pkg:rpm/almalinux/glibc-langpack-ca","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ce","purl":"pkg:rpm/almalinux/glibc-langpack-ce","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-chr","purl":"pkg:rpm/almalinux/glibc-langpack-chr","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-cmn","purl":"pkg:rpm/almalinux/glibc-langpack-cmn","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-crh","purl":"pkg:rpm/almalinux/glibc-langpack-crh","source":"ALSA-2025:3828"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.16"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-cs","purl":"pkg:rpm/almalinux/glibc-langpack-cs","source":"ALSA-2025:3828"}],"prev":{"headline":"Groundhogg \u003c= 3.7.3.5 - Authenticated (Author+) Arbitrary File Upload via gh_big_file_upload Function","id":"CVE-2025-0394"},"products":["glibc"],"published":"2025-01-22","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["The GNU C Library"]},"summary":"A buffer overflow in glibc's assert() function can lead to code execution or denial of service when assertion messages align with page boundaries.","url":"https://insights.sbomify.com/CVE-2025-0395/"}