Skip to main content

free5GC PCF CVE-2026-139871

| EUVDEUVD-2026-139554 LOW
Missing Release of Resource after Effective Lifetime (CWE-772)
2026-11-30 disclosure@vulncheck.com GHSA-5767-c243-97wm
2.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticated SBI access as NF peer
  2. Exploit
    Send repeated Npcf_SMPolicyControl creates during NRF outage
  3. Execution
    UDR token retrieval fails, policy entries leak
  4. Impact
    PCF memory grows until forced restart

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup on lifecycle end
Exploitation Conditions

Exploitation requires PR:L authenticated access to PCF's service-based interface - the ability to issue Npcf_SMPolicyControl create requests, i.e., an SMF or other trusted/compromised NF peer on the 5G core. Critically, the leak only triggers when UDR token retrieval fails inside HandleCreateSmPolicyRequest, which the advisory and description tie to an NRF outage (reflected by AT:P). Limiting factors that reduce real-world risk: the attacker must hold an authenticated NF role, a concurrent NRF/UDR failure window must exist, and sustained request volume is needed to grow memory meaningfully; impact is confined to availability (memory growth requiring a restart) with no data exposure or code execution.

Impact

All decision signals converge on low priority. The supplied CVSS 4.0 base score is 2.3 (Low) with VA:L as the only impact (VC:N/VI:N/VA:N for confidentiality and integrity), AC:H and AT:P indicating the flaw requires a specific attack condition, and PR:L indicating an authenticated service-based-interface peer is needed. The vuln.today Decision label is 'monitor', the lowest urgency tier, consistent with the CVSS reading. There is no CISA KEV listing, no EPSS probability was provided in the input (so widespread-exploitation likelihood cannot be quantified from this data), and no public exploit code is referenced. The realistic worst case is a self-inflicted or peer-induced memory leak that forces a PCF restart - a degraded-availability nuisance, not a confidentiality or integrity event. Note one contradiction to flag: the input Tags label this 'Information Disclosure', but the CVSS vector (VC:N, VA:L) and CWE-772 (Missing Release of Resource) describe an availability/resource-exhaustion issue, not disclosure - the tag appears mislabeled. This is a genuine but low-severity robustness bug, not an operational emergency.

Exploit ScenarioDerived

During an NRF outage that causes UDR OAuth token retrieval to fail, an authenticated SBI peer (e.g., an SMF or a compromised NF on the 5G core service mesh) sends a sustained stream of Npcf_SMPolicyControl create requests. Each failed request leaves an undeletable SM policy entry in PCF memory, and repeated requests accumulate these entries until PCF memory growth forces a restart. No public exploit identified at time of analysis; exploitation also depends on the concurrent NRF/UDR failure window (AT:P) and authenticated access (PR:L), so it is not a trivial drive-by.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Memory exhaustion in free5GC PCF through 1.4.6 stems from a resource leak in HandleCreateSmPolicyRequest: when UDR token retrieval fails, the SM policy entry created for the request is never released and survives in the PCF's in-memory policy map, so repeated Npcf_SMPolicyControl create requests during an NRF outage steadily grow PCF memory until the process must be restarted. Affected deployments are 5G core installations running the open-source PCF at v1.4.6 or earlier, and the attacker must already hold an authenticated NF role able to invoke the Npcf_SMPolicyControl service-based interface (an SMF or a compromised peer NF) at the same time as an NRF/UDR failure window. Impact is confined to availability (CVSS 3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L), no data exposure or code execution is involved, decision signals converge on low priority ('monitor'), and no public exploit has been identified at time of analysis.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the correction is commit 10d877414f5f41e9a8efdcedd521e3c96053adaf in github.com/free5gc/pcf (https://github.com/free5gc/pcf/commit/10d877414f5f41e9a8efdcedd521e3c96053adaf), which introduces the rollback/commit wrapper around SM policy creation; operators should build or vendor the PCF image from that commit, or from the first tagged release that contains it once published, rather than assuming v1.4.6 is fixed. Because no maintenance window may be immediately available and the leak is only reachable when UDR token retrieval fails during an NRF outage, the practical compensating controls are: monitor PCF process memory (RSS) and heap growth with alerting so an NRF outage that coincides with SM policy creation is detected early, and restart the PCF process to reclaim leaked SM policy entries - accepting that a restart drops in-memory SM policy state and may disturb in-flight PDU session policy handling. Restrict reachability of the Npcf_SMPolicyControl service-based interface to the SMF and other NFs that legitimately need it (network policy, mTLS/NRF authorization), which shrinks the set of peers that can drive request volume during an outage, with the trade-off that a misconfigured allow-list will break legitimate SMF policy creation. Reducing the duration and blast radius of NRF/UDR outages (redundant NRF/UDR instances, fast failover) directly shrinks the window in which the leak triggers. There is no evidence of a public exploit, so no exploitation-driven emergency measures are warranted; the vuln.today decision label is 'monitor'.

Affected VersionsENISA

pcf 0 ≤1.4.6

Affected Packages

euvd pcf no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

free5GC is an open-source 5G core implementing the 3GPP Service Based Architecture, in which the Policy Control Function (PCF) exposes the Npcf_SMPolicyControl REST API that the SMF calls to create and manage session management policies for PDU sessions. HandleCreateSmPolicyRequest in internal/sbi/processor/smpolicy.go orchestrates several side effects: it registers a policy entry under ue.SmPolicyData[smPolicyID], retrieves session management data from the UDR (via the NRF-discovered UDR endpoint), allocates rating group identifiers from the ID generator, and persists charging data through mongoapi.RestfulAPIPutOne. In v1.4.6 these steps were not transactional - the two code ranges cited in the advisory (smpolicy.go#L113-L116 and #L380-L385) show the deletion of ue.SmPolicyData entries conditioned on a smPolicyData pointer being non-nil, so the error return taken when UDR token retrieval fails exits before the cleanup executes. The root cause class is CWE-772 (Missing Release of Resource after Effective Lifetime): a map entry (and its associated in-memory state) is created but its lifetime is never terminated on the failure path. The upstream fix commit 10d877414f5f41e9a8efdcedd521e3c96053adaf replaces the ad-hoc cleanup with a newSmPolicyCreation(...) object that exposes allocateRatingGroup, putChargingData, rollback and commit, invoked via defer creation.rollback() with creation.commit() on success, so rating group IDs and persisted charging data are unwound together with the policy entry. The same commit also changes the rating-group allocation failure problem detail from ERROR_IDGENERATOR to INSUFFICIENT_RESOURCES (HTTP semantics more appropriate for resource exhaustion) and adds an extensive mtest-based regression suite (smpolicy_allocation_test.go). Note that the 'Information Disclosure' tag carried in the intelligence feed is not supported by the described mechanism or by the assessed vector, which shows only an availability impact.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.1 LOW

PR:L for an authenticated SBI peer; AC:H because the leak only occurs during an NRF/UDR token-retrieval failure window; availability-only impact (A:L) with no confidentiality or integrity effect.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

free5GC PCF through 1.4.6 contains a resource leak in HandleCreateSmPolicyRequest that leaves SM policy entries in memory when UDR token retrieval fails. Attackers sending repeated Npcf_SMPolicyControl create requests during an NRF outage can accumulate undeletable policy entries, growing PCF memory until restart.

Threat Intelligence Overview

EPSS Score
0.4%
Top 59% exploitable
Prevalence
Low
open-source 5G core, mostly research/lab use, limited production footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy