OpenAirInterface NRF crashes when an event subscriber disappears
OpenAirInterface oai-cn5g-nrf up to 2.2.1 contains a null pointer dereference in notify_subscribed_event. CVE-2026-138049 affects the NRF component that stores network-function registrations and distributes discovery events. A malformed or disappearing subscription can crash the process, interrupting service discovery for the 5G core.
The vulnerability is remotely reachable and has a public exploit. The CVSS 4.0 base score is 6.9, with availability impact. The record does not claim access to subscriber credentials or core-network configuration. The immediate consequence is loss of NRF availability and possible cascading failures as other network functions lose discovery.
Why the NRF is an availability dependency
The Network Repository Function is not just a directory. It supports registration, discovery, subscription, and notification flows that other core components depend on. A crash can leave producers and consumers with stale state. Recovery may require restarting dependent processes or waiting for registration and subscription state to rebuild.
The affected function is in the notification path. Its callback should tolerate a missing subscription or incomplete event state. Defensive code must handle a null object, expired subscription, failed lookup, and partially initialized notification context without dereferencing absent memory.
Upgrade and control checks
Upgrade oai-cn5g-nrf to 2.2.2 or later. Confirm the component version in the running container or package, not only in the deployment manifest.
Restrict NRF management and notification interfaces to the core-network service mesh. Internet exposure of the NRF is unnecessary and expands the denial-of-service surface.
Monitor process restarts, null-pointer faults, subscription churn, and discovery latency. A restart alone may hide the path that triggered the crash.
Exercise subscription and notification failure paths in a lab with the patched release. Remove a subscriber during a notification sequence and verify that the NRF logs the event without terminating.
Limits
The finding is a denial-of-service issue. It should not be described as remote code execution. The security value is in keeping control-plane discovery available and in testing failure handling around network-function state changes.
Top comments (0)