CVE-2025-65562: Out-of-bounds Read
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-65562?
CVE-2025-65562 is considered a high severity vulnerability due to its potential for unauthenticated remote exploitation.
How do I fix CVE-2025-65562?
To remediate CVE-2025-65562, ensure that you apply the latest security patches provided by free5GC for the affected version.
What type of attack can be executed with CVE-2025-65562?
An unauthenticated remote attacker can exploit CVE-2025-65562 to cause an integer conversion underflow through malicious PFCP Session Deletion Requests.
Which versions of free5GC are affected by CVE-2025-65562?
CVE-2025-65562 affects free5GC version 4.1.0 and potentially other versions if not patched.
What are the potential impacts of exploitation of CVE-2025-65562?
Exploitation of CVE-2025-65562 may lead to denial of service or other unexpected behavior due to improper handling of the SEID.