CVE-2025-44951 Details
Description
A missing length check in `ogs_pfcp_dev_add` function from PFCP library, used by both smf and upf in open5gs 2.7.2 and earlier, allows a local attacker to cause a Buffer Overflow by changing the `session.dev` field with a value with length greater than 32.
A buffer overflow vulnerability has been identified in the Open5GS PFCP library, used by the SMF and UPF components in versions through 2.7.2. The issue arises from a missing length check in the 'ogs_pfcp_dev_add' function, allowing local attackers to overwrite the 'session.dev' field with values longer than 32 characters. Similarly, the 'ogs_pfcp_subnet_add' function is vulnerable, with the 'session.dnn' field susceptible to overflow by strings exceeding 101 characters. The vulnerability can be exploited by modifying the configuration file of the affected network function to include overly long strings in the 'dev' or 'dnn' fields.
Users can update to Open5GS version 2.7.3 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/scmdcs/6d878d6074f0e2f4a8fb69e9864068b7 | [email protected] | ExploitThird Party Advisory |
| https://github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924 | [email protected] | |
| https://github.com/open5gs/open5gs/issues/3775 | [email protected] | ExploitIssue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| open5gs open5gs | <= 2.7.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 9, 2026 | CVE Modified | [email protected] |
| Jul 9, 2025 | Initial Analysis | [email protected] |
| Jun 20, 2025 | CVE Modified | [email protected] |
| Jun 18, 2025 | CVE Modified | CISA-ADP |
| Jun 18, 2025 | New CVE Received | [email protected] |