---
id: CVE-2026-44318
title: free5GC is an open-source implementation of the 5G core network
summary: >-
  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…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-362
  - CWE-820
vendor: free5gc
product: free5gc
affected:
  - free5gc < 4.2.2
patched:
  - free5gc 4.2.2
published: '2026-05-27'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-44318'
references:
  - url: >-
      https://github.com/free5gc/bsf/commit/277908565fd628d974a13ef562b81a8b7b519ffa
    label: security-advisories@github.com
  - url: 'https://github.com/free5gc/bsf/pull/7'
    label: security-advisories@github.com
  - url: 'https://github.com/free5gc/free5gc/issues/926'
    label: security-advisories@github.com
  - url: 'https://github.com/free5gc/free5gc/security/advisories/GHSA-27ph-8q4f-h7m7'
    label: security-advisories@github.com
  - url: 'https://github.com/free5gc/free5gc/issues/926'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/free5gc/free5gc/security/advisories/GHSA-27ph-8q4f-h7m7'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00432
epssPercentile: 0.35814
ingestedAt: '2026-10-14T20:53:12.329Z'
---

## Overview

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.

## Affected

- `free5gc < 4.2.2`

## Remediation

Upgrade past the affected range:

- `free5gc 4.2.2`
