free5GC: BSF concurrent PUT /nbsf-management/v1/subscriptions/{subId} crashes the BSF process via concurrent map read/write on Subscriptions
CVE-2026-44318Published 27 May 2026, 15:35 UTC
Real-world risk
2.3/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Free5GCCommon | < 4.2.2 | 4.2.2 |
What to do
Update to a fixed version: 4.2.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
EPSS 0.3% chance of exploitation in 30 days (percentile 28), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.6 × threat 0.952.280
- Rounded to one decimal between 0.1 and 102.3
Exploitation and evidence timeline
- 27 May 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 2.3 (cvss fallback)
Weakness
CWE-362, CWE-820
References
- https://github.com/free5gc/free5gc/security/advisories/GHSA-27ph-8q4f-h7m7exploit, vendor-advisory
- https://github.com/free5gc/free5gc/issues/926exploit, misc
- https://github.com/free5gc/bsf/pull/7misc
- https://github.com/free5gc/bsf/commit/277908565fd628d974a13ef562b81a8b7b519ffamisc
- CVE-2026-44318 on CVE.org