CVE-2026-138364

Open5GS PCF context.c pcf_sess_add assertion

Published Nov 30, 2026 CVSS 4.0 · 6.9 Medium EPSS n/a KEV · Not listed
Description
A vulnerability has been found in Open5GS up to 2.8.0. The impacted element is the function pcf_sess_add of the file src/pcf/context.c of the component PCF. Such manipulation of the argument pduSessionId leads to reachable assertion. The attack can be executed remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 5c437e9c22cc09051998fe5154c5484ed3a08202. It is best practice to apply a patch to resolve this issue.

Analysis

AI-generated

Technical impact

A problem in the pcf_sess_add function of the PCF module can be triggered by manipulating the pduSessionId parameter, causing a reachable assertion to fire. This assertion generally results in a program crash and can be exploited remotely, potentially disabling the PCF service until restarted. The vulnerable code is executed when a session request is processed, so a malicious attacker can target the service from outside the network.

Affected Systems

The affected product is Open5GS, version 2.8.0 and earlier. The issue is located in the src/pcf/context.c file of the PCF component. Only installations running these versions without the fix are vulnerable; newer releases beyond 2.8.0 are not affected according to the information provided.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate to high severity for a remote attack scenario, and the vulnerability is considered exploitable via remote manipulation of session identifiers. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote, relying on the ability to send crafted requests to the PCF service. If successful, the assertion crash will likely cause a denial of service, impacting availability of the PCF component and potentially the broader 5G network services relying on it.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch corresponding to commit 5c437e9c22cc09051998fe5154c5484ed3a08202 to the Open5GS codebase
  • Ensure that any input for pduSessionId is validated against expected ranges or formats before processing
  • If possible, restrict external access to the PCF service via network segmentation or firewall rules to limit exposure to remote attackers

Generated by OpenCVE AI on November 30, 2026 at 04:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A vulnerability has been found in Open5GS up to 2.8.0. The impacted element is the function pcf_sess_add of the file src/pcf/context.c of the component PCF. Such manipulation of the argument pduSessionId leads to reachable assertion. The attack can be executed remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 5c437e9c22cc09051998fe5154c5484ed3a08202. It is best practice to apply a patch to resolve this issue.
Title Open5GS PCF context.c pcf_sess_add assertion
First Time appeared Open5gs
Open5gs open5gs
Weaknesses CWE-617
CPEs cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*
Vendors & Products Open5gs
Open5gs open5gs
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 30, 2026, 3:15 AM
Reserved
Nov 29, 2026, 12:38 PM
Status
Deferred
Published
Nov 30, 2026, 4:17 AM
Modified
Nov 30, 2026, 4:17 AM