CVE-2025-44952 Details
Description
A missing length check in `ogs_pfcp_subnet_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.dnn` field with a value with length greater than 101.
A buffer overflow vulnerability has been identified in the Open5GS PFCP library, specifically in versions through 2.7.2. The issue arises in the 'ogs_pfcp_subnet_add' function, which is utilized by the Session Management Function (SMF) and User Plane Function (UPF). The vulnerability allows local attackers to overflow buffers by manipulating the 'session.dnn' field with excessively long values, exceeding 101 characters. This overflow can overwrite adjacent memory, potentially leading to arbitrary code execution or causing the application to crash.
Users can upgrade 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/scemodicecosa/8643fbfc9490f40e955e9f9e9b0d9077 | [email protected] | Broken Link |
| https://gist.github.com/scmdcs/8643fbfc9490f40e955e9f9e9b0d9077 | [email protected] | ExploitThird Party Advisory |
| 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
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| 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] |