CVE-2022-43677 free5GC vulnerable to malformed NGAP message crashing the AMF and NGAP decoders
A malformed NGAP message causes an index-out-of-range panic, crashing the AMF and NGAP decoders in free5GC.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-43677?
CVE-2022-43677 is a medium-severity denial of service vulnerability in Free5gc Free5gc, published on 24 Oct 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
In free5GC 3.2.1, a malformed NGAP message can crash the AMF and NGAP decoders via an index-out-of-range panic in aper.GetBitString.
Which versions are affected by CVE-2022-43677?
3 open source packages ship an affected version, including github.com/free5gc/free5gc and github.com/free5gc/aper. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/free5gc/free5gc Go | All versions to 3.2.1 | None |
github.com/free5gc/free5gc Go | All versions to 3.2.1 | None |
github.com/free5gc/aper Go | All versions | None |
Products include Free5gc Free5gc.
How do I fix CVE-2022-43677?
No fix has been published for CVE-2022-43677 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-43677 being exploited?
There is no known exploitation of CVE-2022-43677 in the wild and no public exploit code.
Other vulnerabilities in Free5gc Free5gc
- CVE-2026-44327 free5GC: NEF nnef-oam route group is unauthenticated; no-token requests reach the OAM handler
- CVE-2026-44329 free5GC's SMF UPI management interface lacks auth middleware; unauthenticated topology read/write requests reach handlers
- CVE-2026-44330 free5GC's NEF nnef-pfdmanagement API is unauthenticated; forged bearer tokens can read PFD data and create/delete PFD subscriptions
- CVE-2025-63679 Memory corruption in n/a
- CVE-2026-44315 free5GC's NEF 3gpp-pfd-management API is unauthenticated; forged bearer tokens can create, read, and delete PFD transactions
Sources
Also known as GHSA-59hj-62f5-fgmc, GO-2022-1083.