{"id":"CVE-2026-41135","published":"2026-04-21T23:49:19Z","modified":"2026-04-22T14:19:58Z","title":"free5GC PCF: Memory Leak via CORS Middleware Registration in HTTP Handler Leads to Denial of Service","vendor":"free5gc","product":"pcf","tier":"tail","description":{"text":"free5GC UDR is the Policy Control Function (PCF) for free5GC, an an open-source project for 5th generation (5G) mobile core networks. A memory leak vulnerability in versions prior to 1.4.3 allows any unauthenticated attacker with network access to the PCF SBI interface to cause uncontrolled memory growth by sending repeated HTTP requests to the OAM endpoint. The root cause is a `router.Use()` call inside an HTTP handler that registers a new CORS middleware on every incoming request, permanently growing the Gin router's handler chain. This leads to progressive memory exhaustion and eventual Denial of Service of the PCF, preventing all UEs from obtaining AM and SM policies and blocking 5G session establishment. Version 1.4.3 contains a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00535,"percentile":0.46049,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/free5gc/free5gc/security/advisories/GHSA-98cp-84m9-q3qp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/free5gc/pcf/commit/599803b1b2eb4611e26d5216481ee142bce71a16","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.21},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"free5gc","affectedVersions":[{"vendor":"free5gc","product":"pcf","versions":["< 1.4.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-22T14:19:35.605073Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/free5gc/pcf","vulnerableRanges":["<1.4.3"],"patched":["1.4.3"],"from":["GHSA-98cp-84m9-q3qp","GO-2026-5278"],"provenance":"source"}],"summary":{"text":"The free5GC PCF (Policy Control Function) component of the free5GC open-source 5G core contains a memory leak in its HTTP handling: a router.Use() call inside a handler registers a new CORS middleware on every incoming request, so the router's handler chain grows without bound. An unauthenticated attacker with network access to the PCF SBI interface can exploit this simply by sending repeated HTTP requests to the OAM endpoint, with no user interaction or configuration required, causing progressive memory exhaustion and eventual denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:28Z"},"euvd":{"id":"EUVD-2026-24575","exploited":false,"provenance":"source"}}