CVE-2025-65562: free5gc · Improper Validation of Array Index
Affects free5gcSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Gogithub.com/free5gc/free5gcpkg:golang/github.com/free5gc/free5gcOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Monitor free5GC project repositories and security advisories closely for official patches addressing CVE-2025-65562 and apply them promptly once available.
- Implement strict input validation on PFCP messages at the network edge or within the UPF to detect and reject anomalous SEID values before processing.
- Employ runtime protections such as Go language panic recovery mechanisms and process supervision to automatically restart the UPF service upon crashes, minimizing downtime.
- Restrict network access to PFCP interfaces using firewall rules and network segmentation to limit exposure to untrusted sources.
- Deploy anomaly detection systems to monitor PFCP traffic patterns and alert on suspicious session deletion requests with abnormal SEID values.
- Conduct regular security testing and fuzzing of PFCP message handling to identify similar vulnerabilities proactively.
- Consider deploying redundant UPF instances with load balancing to ensure service continuity in case of individual component failure.
- Collaborate with vendors and open-source communities to contribute patches and share threat intelligence related to this vulnerability. These targeted measures go beyond generic advice by focusing on protocol-specific validation, runtime resilience, and network-level protections tailored to free5GC UPF environments.
Description
The free5GC UPF suffers from a lack of bounds checking on the SEID when processing PFCP Session Deletion Requests. An unauthenticated remote attacker can send a request with a very large SEID (e.g., 0xFFFFFFFFFFFFFFFF) that causes an integer conversion/underflow in LocalNode.DeleteSess() / LocalNode.Sess() when a uint64 SEID is converted to int and used in index arithmetic. This leads to a negative index into n.sess and a Go runtime panic, resulting in a denial of service (UPF crash). The issue has been reproduced on free5GC v4.1.0 with crashes observed in the session lookup/deletion path in internal/pfcp/node.go; other versions may also be affected. No authentication is required.