Security advisory
A heap buffer overflow vulnerability in the UPF component of free5GC v4.0.1 allows remote attackers to cause a denial of service via a crafted PFCP Session Modification Request. The issue occurs in the SDFFilterFields.UnmarshalBinary function (sdf-filter.go) when processing a declared length that exceeds the actual buffer capacity, leading to a runtime panic and UPF crash.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-70122
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 23:17 UTC · Revision 1
Source evidence
A heap buffer overflow vulnerability in the UPF component of free5GC v4.0.1 allows remote attackers to cause a denial of service via a crafted PFCP Session Modification Request. The issue occurs in the SDFFilterFields.UnmarshalBinary function (sdf-filter.go) when processing a declared length that exceeds the actual buffer capacity, leading to a runtime panic and UPF crash.
osv:CVE-2025-70122
Complete source record
{
"id": "d07fd3c2cf76043ff460d0f9eaaecac3cd7eddadfa2f75d9d154506319d23142",
"url": "https://osv.dev/vulnerability/CVE-2025-70122",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-70122",
"summary": "A heap buffer overflow vulnerability in the UPF component of free5GC v4.0.1 allows remote attackers to cause a denial of service via a crafted PFCP Session Modification Request. The issue occurs in the SDFFilterFields.UnmarshalBinary function (sdf-filter.go) when processing a declared length that exceeds the actual buffer capacity, leading to a runtime panic and UPF crash.",
"evidence": "osv:CVE-2025-70122",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-70122",
"aliases": [
"CVE-2025-70122"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/free5gc/free5gc",
"type": "GIT",
"events": [
{
"introduced": "228ac5f7b8b0c3d160bccb3470901b3e87e756c9"
},
{
"last_affected": "228ac5f7b8b0c3d160bccb3470901b3e87e756c9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:free5gc:free5gc:4.0.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.1"
},
{
"last_affected": "4.0.1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.0.1",
"v4.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-70122.json"
}
}
],
"modified": "2026-10-28T02:30:40.485526819Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70122.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-70122",
"https://github.com/free5gc/free5gc/issues/746"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70122.json"
}
},
"related_cves": [
{
"value": "CVE-2025-70122",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507924,
"published_at": "2026-02-13T00:00:00+00:00"
}