CVE-2025-60632: Github.com/free5gc/pcf Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-vgq7-9r5r-j9v3
CVSS 6.5
CWE-617
Published
Advisory Summary

CVE-2025-60632 is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-617: Reachable Assertion) affecting Github.com/free5gc/pcf libraries in the Go ecosystem. The issue involves free5gc is vulnerable to dos through its npcf_bdtpolicycontrol post api. Remediation is available by upgrading affected packages to version 1.4.0.

CVE-2025-60632 at a Glance

CVE Identifier CVE-2025-60632
GHSA Identifier GHSA-vgq7-9r5r-j9v3
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-617: Reachable Assertion
Affected Product Github.com/free5gc/pcf
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2025-60632

To remediate this vulnerability, upgrade all affected Github.com/free5gc/pcf dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/free5gc/pcf fixed: 1.4.0
Upgrade github.com/free5gc/pcf to 1.4.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/free5gc/pcf

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-60632, inspect your project dependencies for Github.com/free5gc/pcf:

inspect dependencies for github.com/free5gc/pcf

Analyze the terminal output to locate any version of Github.com/free5gc/pcf in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-617: Reachable Assertion, where the product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary. In Github.com/free5gc/pcf, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue was discovered in Free5GC v4.0.0 and v4.0.1 allowing an attacker to cause a denial of service via crafted POST request to the Npcf_BDTPolicyControl API.

CVE-2025-60632 Affected Github.com/free5gc/pcf Versions

1 component(s)
Fixed Versions:
1.4.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/free5gc/pcf
Go
< 1.4.0
1.4.0

References

Frequently Asked Questions

What is CVE-2025-60632?
CVE-2025-60632 is a security vulnerability in Github.com/free5gc/pcf involving Free5GC is vulnerable to DoS through its Npcf_BDTPolicyControl POST API under CWE-617: Reachable Assertion.
Which Github.com/free5gc/pcf versions are affected?
Affected versions include releases prior to 1.4.0 across affected packages: github.com/free5gc/pcf.
What version fixes CVE-2025-60632?
Upgrading to 1.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/free5gc/pcf affected?
Yes, github.com/free5gc/pcf is affected in releases prior to 1.4.0. Upgrade your dependency to 1.4.0 or later.
What is the CVSS score of CVE-2025-60632?
CVE-2025-60632 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-60632?
CVE-2025-60632 is classified under CWE-617: Reachable Assertion (The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.).
How can I check Go dependencies for CVE-2025-60632?
Run the dependency tree command: 'inspect dependencies for github.com/free5gc/pcf'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vgq7-9r5r-j9v3",
  "modified" : "2025-11-25T21:01:13Z",
  "published" : "2025-11-24T18:31:12Z",
  "aliases" : [ "CVE-2025-60632" ],
  "summary" : "Free5GC is vulnerable to DoS through its Npcf_BDTPolicyControl POST API",
  "details" : "An issue was discovered in Free5GC v4.0.0 and v4.0.1 allowing an attacker to cause a denial of service via crafted POST request to the Npcf_BDTPolicyControl API.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/free5gc/pcf"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-60632"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/free5gc/issues/705"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/pcf/pull/53"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/free5gc"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/free5gc/pcf"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-617" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-25T21:01:13Z",
    "nvd_published_at" : "2025-11-24T16:15:49Z"
  }
}