{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-8058","id":"CVE-2025-8058","title":"The regcomp function in the GNU C library version from 2.4 to 2.41 is subject to a double free if some previous alloc…","description":"The regcomp function in the GNU C library version from 2.4 to 2.41 is \nsubject to a double free if some previous allocation fails. It can be \naccomplished either by a malloc failure or by using an interposed malloc\n that injects random malloc failures. The double free can allow buffer \nmanipulation depending of how the regex is constructed. This issue \naffects all architectures and ABIs supported ","descriptionLong":"The regcomp function in the GNU C library version from 2.4 to 2.41 is \nsubject to a double free if some previous allocation fails. It can be \naccomplished either by a malloc failure or by using an interposed malloc\n that injects random malloc failures. The double free can allow buffer \nmanipulation depending of how the regex is constructed. This issue \naffects all architectures and ABIs supported by the GNU C library.","published":"2025-07-23T19:57:17.138Z","updated":"2026-10-28T02:30:22.478797904Z","reserved":"2025-07-22T18:33:43.424Z","status":"Deferred","rejected":false,"assigner":"glibc","metric":{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H","rating":"medium","source":"glibc"},"metrics":[{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H","rating":"medium","source":"glibc"},{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"3ff69d7a-14f2-4f67-a097-88dee7810d18"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H","rating":"unrated","source":"OSV"}],"rating":"medium","products":["The GNU C Library glibc"],"affectedProducts":[{"vendor":"The GNU C Library","product":"glibc","defaultStatus":"unaffected","versions":[{"lessThan":"2.42","status":"affected","version":"2.4","versionType":"custom"}],"platforms":["Linux"]}],"packages":[],"cwes":["CWE-415"],"aliases":[],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=33185","tags":["report"]},{"url":"https://sourceware.org/git/?p=glibc.git;a=commit;h=3ff17af18c38727b88d9115e536c069e6b5d601f","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/23/1","tags":["web"]},{"url":"https://www.gnu.org/software/libc/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8058.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8058","tags":["advisory"]},{"url":"https://sourceware.org/git/?p=glibc.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00223,"epssPercentile":0.13074,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-8058","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8058","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-8058","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-8058","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["glibc"],"critical":[],"attention":null}