CVE-2025-65562
JSON

7.5high

The free5GC UPF suffers from a lack of bounds checking on the SEID when processing PFCP Session Deletion Requests.

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.60% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
free5gc free5gc4.1.0NVD

Classification

CWE-129

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (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.

References

https://github.com/free5gc/free5gc/issues/731exploit, issue-tracking, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-65562 changed 2025-12-19CVE Terms of Use
NVDCVE-2025-65562 changed 2026-10-13Public domain