{"answers":{"affected":"3 open source packages ship an affected version, including github.com/free5gc/pcf. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41135 exists.","fix":"Upgrade github.com/free5gc/pcf to 1.4.3 or later.","what":"CVE-2026-41135 is a high-severity denial of service vulnerability in Free5gc Free5gc, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41135 and fix it if it is affected.\n\nWhat it is: CVE-2026-41135 is a high-severity denial of service vulnerability in Free5gc Free5gc, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41135 exists.\n\nAffected packages and fixed versions:\n- github.com/free5gc/pcf (Go): affected all versions; fixed in 1.4.3\n- github.com/free5gc/pcf (Go): affected all versions; fixed in 1.4.3\n- github.com/free5gc/pcf (Go): affected all versions; fixed in 1.4.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41135/ (Markdown: https://insights.sbomify.com/CVE-2026-41135/index.md)","id":"CVE-2026-41135","markdown":"https://insights.sbomify.com/CVE-2026-41135/index.md","name":"CVE-2026-41135","record":{"aliases":["GHSA-98cp-84m9-q3qp","GO-2026-5278"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"5G Core Network PCF","requires_auth":"none","summary":"Unauthenticated attackers can cause memory exhaustion and denial of service in free5GC PCF by sending repeated HTTP requests to the OAM endpoint.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"free5gc","vendor":"free5gc"},{"product":"pcf","vendor":"free5gc"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"free5GC PCF: Memory Leak via CORS Middleware Registration in HTTP Handler Leads to Denial of Service","id":"CVE-2026-41135","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"free5gc:free5gc","products":["free5gc:free5gc"],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"free5GC AMF missing default case in Content-Type switch in HTTPUEContextTransfer","id":"CVE-2026-41136"},"packages":[{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["0"],"last_affected":[],"package":"github.com/free5gc/pcf","purl":null,"source":"GHSA-98cp-84m9-q3qp"},{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["0"],"last_affected":[],"package":"github.com/free5gc/pcf","purl":"pkg:golang/github.com/free5gc/pcf","source":"GHSA-98cp-84m9-q3qp"},{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["0"],"last_affected":[],"package":"github.com/free5gc/pcf","purl":"pkg:golang/github.com/free5gc/pcf","source":"GO-2026-5278"}],"prev":{"headline":"Kiota: Code Generation Literal Injection","id":"CVE-2026-41134"},"products":["pcf"],"published":"2026-04-21","related":[{"cvss_score":10,"headline":"free5GC: NEF nnef-oam route group is unauthenticated; no-token requests reach the OAM handler","id":"CVE-2026-44327","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":10,"headline":"free5GC's SMF UPI management interface lacks auth middleware; unauthenticated topology read/write requests reach handlers","id":"CVE-2026-44329","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":10,"headline":"free5GC's NEF nnef-pfdmanagement API is unauthenticated; forged bearer tokens can read PFD data and create/delete PFD subscriptions","id":"CVE-2026-44330","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2025-63679","kev_date_added":null,"published":"2025-11-12"},{"cvss_score":9.4,"headline":"free5GC's NEF 3gpp-pfd-management API is unauthenticated; forged bearer tokens can create, read, and delete PFD transactions","id":"CVE-2026-44315","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":9.4,"headline":"free5GC's NEF 3gpp-traffic-influence API is unauthenticated; missing or forged bearer tokens can create, read, patch, and delete subscriptions","id":"CVE-2026-44326","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":8.7,"headline":"free5gc UDR improper path validation allows unauthenticated access to Traffic Influence Subscriptions","id":"CVE-2026-40247","kev_date_added":null,"published":"2026-04-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-22","vendors":["free5gc"]},"summary":"Unauthenticated attackers can cause memory exhaustion and denial of service in free5GC PCF by sending repeated HTTP requests to the OAM endpoint.","url":"https://insights.sbomify.com/CVE-2026-41135/"}