{"id":"CVE-2026-44318","published":"2026-05-27T15:35:41Z","modified":"2026-05-27T17:35:49Z","title":"free5GC: BSF concurrent PUT /nbsf-management/v1/subscriptions/{subId} crashes the BSF process via concurrent map…","vendor":"free5gc","product":"free5gc","tier":"tail","description":{"text":"free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's BSF PUT /nbsf-management/v1/subscriptions/{subId} handler has an unsynchronized write on the global Subscriptions map. The handler first reads the map under RLock() via BSFContext.GetSubscription(subId), but if the subscription does not exist, ReplaceIndividualSubcription() writes back to the same map directly without taking the mutex (bsfContext.BsfSelf.Subscriptions[subId] = subscription). Under concurrent authenticated PUT load, one goroutine can read while another writes the map, which causes the Go runtime to abort the process with fatal error: concurrent map read and map write (Go runtime panics that come from concurrent map access bypass recover() and terminate the process). The BSF container exits with code 2 -- the entire BSF SBI surface goes down until restart. This vulnerability is fixed in 4.2.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00432,"percentile":0.29186,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"},{"id":"CWE-820","name":"Missing Synchronization"}],"references":[{"url":"https://github.com/free5gc/free5gc/security/advisories/GHSA-27ph-8q4f-h7m7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/free5gc/free5gc/issues/926","tags":["x_refsource_MISC"]},{"url":"https://github.com/free5gc/bsf/pull/7","tags":["x_refsource_MISC"]},{"url":"https://github.com/free5gc/bsf/commit/277908565fd628d974a13ef562b81a8b7b519ffa","tags":["x_refsource_MISC"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":5.84},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"free5gc","affectedVersions":[{"vendor":"free5gc","product":"free5gc","versions":["< 4.2.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-27T17:34:59.963720Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/free5gc/bsf","vulnerableRanges":["<1.0.2"],"patched":["1.0.2"],"from":["GHSA-27ph-8q4f-h7m7","GO-2026-4994"],"provenance":"source"}],"summary":{"text":"free5GC's BSF (Binding Support Function) component, specifically the PUT handler for /nbsf-management/v1/subscriptions/{subId}, writes to the shared Subscriptions map without taking the mutex when a subscription does not already exist, creating a race condition on concurrent access. An attacker with network access and valid authentication can send concurrent PUT requests to that endpoint, causing the BSF process to abort with a Go runtime concurrent map read/write fatal error and taking the BSF's service interface offline until it is restarted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:14Z"},"euvd":{"id":"EUVD-2026-32567","exploited":false,"provenance":"source"}}