Oai Cn5g AmfApplication · Openairinterface

CVE-2025-65805

HIGH · 7.5 CVSS v3.1 Published 2026-01-07
Fix available
A fix is available. Upgrade to after 2.1.9 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
OpenAirInterface CN5G AMF<=v2.1.9 has a buffer overflow vulnerability in processing NAS messages. Unauthorized remote attackers can launch a denial-of-service attack and potentially execute malicious code by accessing port N1 and sending an imsi string longer than 1000 to AMF.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

OpenAirInterface CN5G AMF versions v2.1.9 and prior contain a buffer overflow vulnerability in NAS message processing. The AMF fails to validate the length of IMSI strings before copying them into a fixed-size buffer, allowing an attacker to send an IMSI string exceeding 1000 characters via the N1 interface to trigger overflow and potentially achieve remote code execution.

MitigationUpgrade the AMF to a version newer than v2.1.9 once the patch is released. As a compensating control, restrict or filter access to port N1 from untrusted sources until the update can be applied.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Oai Cn5g AmfApplication
Affected:<= 2.1.9

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify AMF installation and version
    Locate the OpenAirInterface AMF installation and determine its version using the version display command or by inspecting the installed package metadata
    Affected if The installed version is v2.1.9 or any version prior to v2.1.9
  2. Verify N1 interface exposure
    Check network configuration to determine if the N1 interface port is exposed to untrusted networks or accessible from external sources
    Affected if The N1 interface is accessible from untrusted or external network sources
  3. Confirm NAS message processing is enabled
    Inspect the AMF configuration to verify that NAS message processing for the N1 interface is enabled and operational
    Affected if NAS message processing is enabled and the AMF is accepting connections on the N1 interface
  4. Review for exploitation indicators
    Examine AMF logs for any异常 IMSI values, buffer overflow warnings, or unexpected crashes related to NAS message handling
    Affected if Logs show IMSI values exceeding normal length or crash signatures associated with this overflow vulnerability

A defender is affected if the AMF version is v2.1.9 or earlier AND the N1 interface is accessible to untrusted sources, allowing malicious IMSI strings to reach the vulnerable NAS message processing code.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to a release after 2.1.9
Interim mitigation

Upgrade the AMF to a version newer than v2.1.9 once the patch is released. As a compensating control, restrict or filter access to port N1 from untrusted sources until the update can be applied.

Fix this in Oai Cn5g Amf Scoped from the published advisory
  • Consultation6.0 h
  • Implementation12.0 h
  • Testing10.0 h
  • Review / QA6.0 h
34.0 hours of engineering $5,940
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $9,504.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-65805 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-65805 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data