Submit #851630: Open5GS Project Open5GS 2.7.7 Use After Freeinfo

TitleOpen5GS Project Open5GS 2.7.7 Use After Free
DescriptionOpen5GS 2.7.7 contains a heap-use-after-free in the AMF component's process-shutdown path: during mf_context_final (src/amf/context.c), ogs_hash_destroy clears a hash table by re-hashing entry keys, and AddressSanitizer reports that one key has already been freed during the same teardown, causing ogs_hash_clear -> ogs_hash_set_debug -> find_entry -> hashfunc_default (lib/core/ogs-hash.c:258) to read freed memory.
Source⚠️ https://github.com/open5gs/open5gs/security/advisories/GHSA-88pq-hpwv-2vjw
User
 Buggweb (UID 98839)
Submission06/08/2026 17:19 (1 month ago)
Moderation07/09/2026 07:54 (1 month later)
StatusAccepted
VulDB entry377122 [Open5GS 2.7.7 AMF src/amf/context.c amf_context_final use after free]
Points20

Do you know our Splunk app?

Download it now for free!