# CVE-2026-41135: free5GC PCF: Memory Leak via CORS Middleware Registration in HTTP Handler Leads to Denial of Service

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-21T23:49:19.659Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-98cp-84m9-q3qp, GO-2026-5278
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- free5gc pcf: < 1.4.3; before 1.4.3
- github.com/free5gc/pcf (Go): before 1.4.3
- free5gc free5gc: up to 4.2.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/free5gc/free5gc/security/advisories/GHSA-98cp-84m9-q3qp> (exploit, advisory, vendor-advisory, web)
- <https://github.com/free5gc/pcf/commit/599803b1b2eb4611e26d5216481ee142bce71a16> (patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41135> (advisory)
- <https://github.com/free5gc/free5gc> (package)

## Sources

- CVE List: [CVE-2026-41135](https://www.cve.org/CVERecord?id=CVE-2026-41135), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-98cp-84m9-q3qp](https://github.com/advisories/GHSA-98cp-84m9-q3qp), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5278](https://pkg.go.dev/vuln/GO-2026-5278), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-41135](https://nvd.nist.gov/vuln/detail/CVE-2026-41135), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41135 · Whole record: https://cve.day/CVE-2026-41135.json · Rebuilt by cve.day 2026-11-25T22:59:19.218Z
