CVE-2025-65562

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.
References
Link Resource
https://github.com/free5gc/free5gc/issues/731 Exploit Issue Tracking Third Party Advisory
https://github.com/free5gc/free5gc/issues/731 Exploit Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:free5gc:free5gc:4.1.0:*:*:*:*:*:*:*

History

13 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) El UPF de free5GC sufre de una falta de comprobación de límites en el SEID al procesar Solicitudes de Eliminación de Sesión PFCP. Un atacante remoto no autenticado puede enviar una solicitud con un SEID muy grande (p. ej., 0xFFFFFFFFFFFFFFFF) que causa una conversión/subdesbordamiento de enteros en LocalNode.DeleteSess() / LocalNode.Sess() cuando un SEID uint64 se convierte a int y se usa en aritmética de índices. Esto lleva a un índice negativo en n.sess y un pánico en tiempo de ejecución de Go, lo que resulta en una denegación de servicio (caída del UPF). El problema se ha reproducido en free5GC v4.1.0 con caídas observadas en la ruta de búsqueda/eliminación de sesión en internal/pfcp/node.go; otras versiones también pueden verse afectadas. No se requiere autenticación.

Information

Published : 2025-12-18 19:16

Updated : 2026-10-13 11:10


NVD link : CVE-2025-65562

Mitre link : CVE-2025-65562

CVE.ORG link : CVE-2025-65562


JSON object : View

Products Affected

free5gc

  • free5gc
CWE
CWE-129

Improper Validation of Array Index