CVE-2025-56394 Memory corruption in n/a

High 7.5 Published Updated

A buffer overflow in Free5gc AMF allows attackers to execute arbitrary code or cause denial of service via malformed 5GS mobile identity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-56394?

CVE-2025-56394 is a high-severity memory corruption vulnerability in Free5gc Free5gc, published on 23 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Free5gc 4.0.1 is vulnerable to Buffer Overflow. The AMF incorrectly validates the 5GS mobile identity, resulting in slice reference overflow.

Weakness: CWE-122

Which versions are affected by CVE-2025-56394?

It affects 1 product.

Products include Free5gc Free5gc.

How do I fix CVE-2025-56394?

No fix has been published for CVE-2025-56394 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-56394 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-56394 exists.

All Free5gc Free5gc vulnerabilities

Sources

Also known as GHSA-w9f3-92w7-x777.

Is CVE-2025-56394 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free