# CVE-2022-43677: free5GC vulnerable to malformed NGAP message crashing the AMF and NGAP decoders

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-10-24T00:00:00.000Z
- Modified: 2026-06-17T05:07:06.033Z
- Also known as: GHSA-59hj-62f5-fgmc, GO-2022-1083
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/free5gc/free5gc (Go): up to 3.2.1
- github.com/free5gc/aper (Go): all versions
- free5gc free5gc: 3.2.1

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/free5gc/free5gc/issues/402> (exploit, issue-tracking, report, third-party-advisory, web)
- <https://www.trendmicro.com/en_us/research/23/j/asn1-vulnerabilities-in-5g-cores.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-43677> (advisory)
- <https://github.com/free5gc/free5gc> (package)
- <https://pkg.go.dev/vuln/GO-2022-1083> (web)

## Sources

- CVE List: [CVE-2022-43677](https://www.cve.org/CVERecord?id=CVE-2022-43677), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-59hj-62f5-fgmc](https://github.com/advisories/GHSA-59hj-62f5-fgmc), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2022-1083](https://pkg.go.dev/vuln/GO-2022-1083), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-43677](https://nvd.nist.gov/vuln/detail/CVE-2022-43677), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-43677 · Whole record: https://cve.day/CVE-2022-43677.json · Rebuilt by cve.day 2026-11-25T22:58:15.967Z
