{"id":"CVE-2026-58088","state":"PUBLISHED","title":"Race condition in ELF core dump segment counting","description":"The ELF core dump code counted the number of dumpable VM map entries, allocated a buffer for the corresponding program headers, then iterated over the map a second time to populate them.  A process sharing the address space via rfork(2) can mutate the map between the two passes, causing the second pass to write program headers past the end of the buffer.\n\nAn unprivileged local user sharing an address space with a process that dumps core can trigger an out-of-bounds write on the kernel heap, potentially leading to privilege escalation.","publishedAt":"2026-08-19T07:52:13.411Z","updatedAt":"2026-08-20T03:55:42.675Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"freebsd","products":["FreeBSD FreeBSD"],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"15.1-RELEASE","status":"affected","lessThan":"p2","versionType":"release"},{"version":"15.0-RELEASE","status":"affected","lessThan":"p12","versionType":"release"},{"version":"14.4-RELEASE","status":"affected","lessThan":"p8","versionType":"release"}],"modules":["elf"]}],"references":["https://security.freebsd.org/advisories/FreeBSD-SA-26:55.elf.asc"],"weaknesses":["CWE-362","CWE-787"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/58xxx/CVE-2026-58088.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-58088","state":"PUBLISHED","datePublished":"2026-08-19T07:52:13.411Z","dateUpdated":"2026-08-20T03:55:42.675Z","assignerShortName":"freebsd","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateReserved":"2026-06-29T01:40:17.498Z"},"containers":{"cna":{"title":"Race condition in ELF core dump segment counting","descriptions":[{"lang":"en","value":"The ELF core dump code counted the number of dumpable VM map entries, allocated a buffer for the corresponding program headers, then iterated over the map a second time to populate them.  A process sharing the address space via rfork(2) can mutate the map between the two passes, causing the second pass to write program headers past the end of the buffer.\n\nAn unprivileged local user sharing an address space with a process that dumps core can trigger an out-of-bounds write on the kernel heap, potentially leading to privilege escalation."}],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"15.1-RELEASE","status":"affected","lessThan":"p2","versionType":"release"},{"version":"15.0-RELEASE","status":"affected","lessThan":"p12","versionType":"release"},{"version":"14.4-RELEASE","status":"affected","lessThan":"p8","versionType":"release"}],"modules":["elf"]}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:55.elf.asc","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","lang":"en","type":"CWE"},{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"freebsd","orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateUpdated":"2026-08-19T07:52:13.411Z"},"datePublic":"2026-07-29T22:40:00.000Z","credits":[{"lang":"en","type":"finder","value":"Maik Muench of Secfault Security"}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.4,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-08-19T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-58088"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-20T03:55:42.675Z"}}]}}}