# CVE-2022-39063: When Open5GS UPF receives a PFCP Session Establishment Request, it stores related values for building the PFCP Session Establishment Respon…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `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): 1.23%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-16T18:02:12.000Z
- Modified: 2026-06-17T04:57:31.653Z
- Weaknesses: CWE-676
- Assigned by: SNPS

## Description

When Open5GS UPF receives a PFCP Session Establishment Request, it stores related values for building the PFCP Session Establishment Response. Once UPF receives a request, it gets the f_teid_len from incoming message, and then uses it to copy data from incoming message to struct f_teid without checking the maximum length. If the pdi.local_f_teid.len exceeds the maximum length of the struct of f_teid, the memcpy() overwrites the fields (e.g., f_teid_len) after f_teid in the pdr struct. After parsing the request, the UPF starts to build a response. The f_teid_len with its overwritten value is used as a length for memcpy(). A segmentation fault occurs, as a result of a memcpy(), if this overwritten value is large enough.

(As written by CVE List.)

## Affected

- Open5GS Open5GS: <2.4.9; up to 2.4.9

## References

- <https://www.synopsys.com/blogs/software-security/cyrc-advisory-open5gs/> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2022-39063](https://www.cve.org/CVERecord?id=CVE-2022-39063), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-39063](https://nvd.nist.gov/vuln/detail/CVE-2022-39063), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39063 · Whole record: https://cve.day/CVE-2022-39063.json · Rebuilt by cve.day 2026-11-25T22:58:15.034Z
