Skip to main content

Open5GS CVE-2026-78157

| EUVDEUVD-2026-64675 LOW
Out-of-bounds Read (CWE-125)
2026-08-24 VulDB GHSA-65jg-mq47-hgxf
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain internal Diameter Rx peer access
  2. Delivery
    Craft AA-Request with null or wrong-length Framed-IP-Address or Framed-IPv6-Prefix AVP
  3. Exploit
    Submit crafted message to PCRF Rx interface
  4. Execution
    Trigger null-pointer dereference and out-of-bounds read in pcrf_rx_aar_cb()
  5. Impact
    Leak adjacent heap memory or crash PCRF process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires network-level access to the PCRF's Diameter Rx interface, an internal 5G/4G core interface not exposed to the public internet in standard deployments. The attacker must be positioned as a recognized Diameter peer (PR:L) - either a legitimate or compromised Application Function, or a host that can impersonate one on the internal core network. The vulnerability is triggered specifically by sending a Diameter Rx AA-Request containing either: (a) a Framed-IP-Address AVP with a null avp_value or a data length other than OGS_IPV4_LEN (4 bytes), or (b) a Framed-IPv6-Prefix AVP with a null avp_value or a data length other than OGS_PAA_IPV6_LEN. Exploitation is constrained by the requirement for Diameter Rx peer access and internal network positioning; environments with strict network segmentation isolating the 5G core from untrusted hosts are significantly less exposed than the raw CVSS AV:N metric implies.

Impact

The CVSS 4.0 score of 5.3 with vector AV:N/AC:L/AT:N/PR:L/UI:N reflects network-reachable, low-complexity exploitation requiring low privilege. In practice, the Diameter Rx interface is an internal 5G/4G core interface not exposed to the public internet - an attacker must first obtain a position as a Diameter peer (e.g., by compromising an Application Function node or reaching the internal core network), making the effective attack surface much narrower than AV:N alone implies. The CVSS 4.0 E:P designation elevates concern above purely theoretical, but the absence of a CISA KEV entry and the restricted interface exposure suggest exploitation is unlikely to be opportunistic or at scale. The impact metrics VC:L/VI:L/VA:L and SC:L/SI:L/SA:L across both vulnerable and subsequent systems appear slightly overstated for a pure out-of-bounds read; confidentiality and availability impacts are plausible (memory disclosure and process crash), but integrity and subsequent-system impacts are inferred rather than directly demonstrated by the available patch data. Operators running the PCRF component in network-segmented deployments face materially lower real-world risk than the score suggests.

Exploit ScenarioDerived

An attacker who has compromised an internal Application Function node - or who has otherwise gained Diameter peer access to the PCRF Rx interface - crafts an AA-Request with a Framed-IP-Address AVP whose avp_value is null or whose data length does not match the expected 4-byte IPv4 size. When the unpatched pcrf_rx_aar_cb() processes the message, it dereferences the null or undersized pointer, triggering an out-of-bounds read that may expose adjacent heap memory or crash the PCRF process; a proof-of-concept is indicated by the CVSS 4.0 E:P flag but no specific public PoC code has been confirmed in available sources.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 24, 2026

Out-of-bounds read in Open5GS 2.8.0 PCRF Rx AA-Request handler allows remote low-privileged attackers with Diameter Rx interface access to send crafted AA-Request messages containing null or incorrectly-sized Framed-IP-Address or Framed-IPv6-Prefix AVPs, triggering memory reads beyond allocated boundaries. The patch commit c18dc6938bf63cc7374315d3dca303d92066e746 adds missing null and length validation for both AVP types; a tagged release incorporating it has not been independently confirmed. No active exploitation is recorded in CISA KEV, though the CVSS 4.0 E:P flag indicates proof-of-concept code is known to exist.

RemediationAI

Apply upstream patch commit c18dc6938bf63cc7374315d3dca303d92066e746 directly from the Open5GS repository (https://github.com/open5gs/open5gs/commit/c18dc6938bf63cc7374315d3dca303d92066e746). A tagged release version incorporating this commit has not been independently confirmed; operators building from source should cherry-pick or merge the commit and monitor the repository for a formal release. As a compensating control until patching, restrict access to the PCRF Diameter Rx port using firewall ACLs or a Diameter Routing Agent (DRA) configured to accept AA-Requests only from known, authorized Application Function IP addresses - this does not eliminate the vulnerability but prevents arbitrary hosts from submitting malformed AVPs, meaningfully reducing the attack surface. Note that DRA-based filtering requires careful maintenance of the authorized AF list and adds a potential availability dependency on the DRA itself.

Affected VersionsENISA

Open5GS 2.8.0

Affected Packages

euvd open5gs no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Open5GS is an open-source implementation of the 4G EPC and 5G core network. The PCRF (Policy and Charging Rules Function) exchanges policy decisions with Application Functions over the Diameter Rx interface using AA-Request/AA-Answer message pairs. The vulnerable function pcrf_rx_aar_cb() in src/pcrf/pcrf-rx-path.c processes incoming Rx AA-Requests and extracts IP address AVPs to correlate sessions. As revealed by the patch diff, the code dereferenced hdr->avp_value without first verifying it was non-null, and also failed to validate that the Framed-IP-Address AVP data length equalled OGS_IPV4_LEN (4 bytes) or that the Framed-IPv6-Prefix AVP data length equalled OGS_PAA_IPV6_LEN before casting the raw bytes to typed structs. CWE-125 (Out-of-Bounds Read) describes exactly this pattern: reading memory beyond the allocated buffer boundary, which can yield adjacent memory contents to an attacker or crash the process. The fix enforces both null checks and exact length validation on both AVP types, returning ER_DIAMETER_INVALID_AVP_VALUE on violation.

Know when Open5gs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P
vuln.today AI 5.4 MEDIUM

Network-reachable Diameter interface requires low-privilege peer access (PR:L); out-of-bounds read yields confidentiality and availability impacts but no integrity impact (I:N); scope unchanged (S:U) as impact is confined to the PCRF process.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

2
Severity Changed
Aug 24, 2026 - 01:22 NVD
MEDIUM LOW
CVSS changed
Aug 24, 2026 - 01:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A vulnerability was detected in Open5GS 2.8.0. This affects the function pcrf_rx_aar_cb of the file src/pcrf/pcrf-rx-path.c of the component Rx AA-Request Handler. Performing a manipulation results in out-of-bounds read. It is possible to initiate the attack remotely. The patch is named c18dc6938bf63cc7374315d3dca303d92066e746. To fix this issue, it is recommended to deploy a patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
open-source 5G core used by researchers and niche telecom operators
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in Open5GS Memory and Authorization Flaws

View all 3
CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2024-40130 CRITICAL POC
9.8 Jul 16

open5gs v2.6.4 is vulnerable to Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2024-40129 CRITICAL POC
9.8 Jul 16

Open5GS v2.6.4 is vulnerable to Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2021-28122 CRITICAL POC
9.8 Mar 10

A request-validation issue was discovered in Open5GS 2.1.3 through 2.2.x before 2.2.1. Rated critical severity (CVSS 9.8

CVE-2025-15685 MEDIUM
5.3 Aug 12

Memory corruption in Open5GS versions through 2.7.1 is remotely exploitable via the freeDiameter protocol component, all

CVE-2021-25863 HIGH POC
8.8 Jan 26

Open5GS 2.1.3 listens on 0.0.0.0:3000 and has a default password of 1423 for the admin account. Rated high severity (CVS

CVE-2023-37023 HIGH POC
8.6 Jan 22

Open5GS MME versions <= 2.6.4 contain a reachable assertion in the `Uplink NAS Transport` packet handler. Rated high sev

CVE-2023-37021 HIGH POC
8.6 Jan 22

Open5GS MME version <= 2.6.4 contains an assertion that can be remotely triggered via a malformed ASN.1 packet over the

CVE-2023-37020 HIGH POC
8.6 Jan 22

Open5GS MME versions <= 2.6.4 contain an assertion that can be remotely triggered via a malformed ASN.1 packet over the

CVE-2023-37019 HIGH POC
8.6 Jan 22

Open5GS MME versions <= 2.6.4 contains an assertion that can be remotely triggered via a malformed ASN.1 packet over the

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy