CVE-2022-39063
CVE-2022-39063 is a high-severity vulnerability in Open5gs with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-676.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (61st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-676
- Affected product: Open5gs
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-39063?
- 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.
- How severe is CVE-2022-39063?
- CVE-2022-39063 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2022-39063 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (61st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-39063?
- CVE-2022-39063 affects Open5gs. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-39063?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-39063 published?
- CVE-2022-39063 was published on 2022-09-16 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*
More vulnerabilities in Open5gs
- CVE-2024-40130 — Critical (CVSS 9.8): open5gs v2.6.4 is vulnerable to Buffer Overflow. via /lib/core/abts.c.
- CVE-2024-40129 — Critical (CVSS 9.8): Open5GS v2.6.4 is vulnerable to Buffer Overflow. via /lib/pfcp/context.c.
- CVE-2021-28122 — Critical (CVSS 9.8): A request-validation issue was discovered in Open5GS 2.1.3 through 2.2.x before 2.2.1. The WebUI component allows an…
- CVE-2021-25863 — High (CVSS 8.8): Open5GS 2.1.3 listens on 0.0.0.0:3000 and has a default password of 1423 for the admin account.
- CVE-2024-24429 — High (CVSS 8.6): A reachable assertion in the nas_eps_send_emm_to_esm function of Open5GS <= 2.6.4 allows attackers to cause a Denial of…
- CVE-2024-34235 — High (CVSS 8.6): Open5GS MME versions <= 2.6.4 contains an assertion that can be remotely triggered via a malformed ASN.1 packet over…
Other CWE-676 vulnerabilities
- CVE-2021-27474 — Critical (CVSS 10.0): Rockwell Automation FactoryTalk AssetCentre v10.00 and earlier does not properly restrict all functions relating to IIS…
- CVE-2025-65117 — High (CVSS 7.4): The vulnerability, if exploited, could allow an authenticated miscreant (Process Optimization Designer User) to embed…
- CVE-2024-38434 — Medium (CVSS 6.5): Unitronics Vision PLC – CWE-676: Use of Potentially Dangerous Function may allow security feature bypass
- CVE-2024-50307 — Medium (CVSS 5.5): Use of potentially dangerous function issue exists in Chatwork Desktop Application (Windows) versions prior to 2.9.2.…
- CVE-2025-67604 — Medium (CVSS 5.3): A use of potentially dangerous function vulnerability in Fortinet FortiAnalyzer 7.6.0 through 7.6.4, FortiAnalyzer…
- CVE-2024-37387 — Medium (CVSS 4.0): Use of potentially dangerous function issue exists in Ricoh Streamline NX PC Client. If this vulnerability is…