github.com/free5gc/udm
Affected
- introduced
0, fixed1.4.2(semver)
Fixed versions
1.4.2
Fix
- Fixed version
1.4.2go get github.com/free5gc/[email protected]
Advisory
Also known as: CVE-2026-33191, GO-2026-4763
free5GC UDM vulnerable to null byte injection in URL path parameters causing 500 Internal Server Error
Impact
This is an Improper Input Validation vulnerability with Denial of Service and Injection implications.
%00) into the supi path parameter of the UDM's Nudm_SubscriberDataManagement API. This causes URL parsing failure in Go's net/url package with the error "invalid control character in URL", resulting in a 500 Internal Server Error. This null byte injection vulnerability can be exploited for denial of service attacks. supi parameter contains null characters, the UDM attempts to construct a URL for UDR that includes these control characters. Go's URL parser rejects them, causing the request to fail with 500 instead of properly validating input and returning 400 Bad Request. /nudm-sdm/v2/{supi}/am-data).Patches
Yes, the issue has been patched.
The fix is implemented in PR free5gc/udm#79.
Users should upgrade to the next release of free5GC that includes this commit.
Workarounds
There is no direct workaround at the application level. The recommendation is to apply the provided patch or implement API gateway-level validation to reject requests containing null bytes in path parameters before they reach UDM.
High Basis: The source's own band: HIGH
0, fixed 1.4.2 (semver)1.4.2
1.4.2go get github.com/free5gc/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0