# CVE-2026-42459: free5GC: Improper Input Validation and Generation of Error Message Containing Sensitive Information in github.com/free5gc/udm

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- 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.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-07T02:09:58.000Z
- Modified: 2026-10-14T20:10:00.190Z
- Also known as: GHSA-585v-hcgf-jhfr, GO-2026-5138
- Weaknesses: CWE-20, CWE-209
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, the free5GC UDM component fails to validate the supi path parameter in six GET handlers of the nudm-sdm (Subscriber Data Management) service. An unauthenticated attacker can inject control characters into the SUPI parameter, causing UDM to forward a malformed request to UDR and return a 500 Internal Server Error response that exposes internal infrastructure details. This vulnerability is fixed in 4.2.2.

(As written by CVE List.)

## Affected

- free5gc free5gc: < 4.2.2; before 4.2.2
- github.com/free5gc/udm (Go): up to 1.4.3; all versions

## Every score

- GitHub_M: CVSS:4.0 7.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/free5gc/free5gc/security/advisories/GHSA-585v-hcgf-jhfr> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/free5gc/free5gc/security/advisories/GHSA-h4wg-rp7m-8xx4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42459> (advisory)
- <https://github.com/free5gc/free5gc> (package)
- <https://github.com/free5gc/udm/blob/v1.4.3/internal/sbi/api_subscriberdatamanagement.go> (web)

## Sources

- CVE List: [CVE-2026-42459](https://www.cve.org/CVERecord?id=CVE-2026-42459), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-585v-hcgf-jhfr](https://github.com/advisories/GHSA-585v-hcgf-jhfr), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5138](https://pkg.go.dev/vuln/GO-2026-5138), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-42459](https://nvd.nist.gov/vuln/detail/CVE-2026-42459), Public domain, modified 2026-10-14

---

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