{"answers":{"affected":"3 open source packages ship an affected version, including github.com/omec-project/amf.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8781 exists.","fix":"Upgrade github.com/omec-project/amf to 2.2.0 or later.","what":"CVE-2026-8781 is a medium-severity vulnerability in omec-project amf, published on 18 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-8781 and fix it if it is affected.\n\nWhat it is: CVE-2026-8781 is a medium-severity vulnerability in omec-project amf, published on 18 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8781 exists.\n\nAffected packages and fixed versions:\n- github.com/omec-project/amf (Go): affected all versions; no fix listed\n- github.com/omec-project/amf (Go): affected all versions; fixed in 2.2.0\n- github.com/omec-project/amf (Go): affected all versions; fixed in 2.2.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-8781/ (Markdown: https://insights.sbomify.com/CVE-2026-8781/index.md)","id":"CVE-2026-8781","markdown":"https://insights.sbomify.com/CVE-2026-8781/index.md","name":"CVE-2026-8781","record":{"aliases":["GHSA-4qf2-p32m-7hmf","GO-2026-5130"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"5G Core AMF","requires_auth":"low_privilege","summary":"Remote attackers can cause a denial of service via null pointer dereference in the RANConfiguration handler of the omec-project AMF.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"},{"id":"CWE-404","name":"Improper Resource Shutdown or Release"}],"description":"A security flaw has been discovered in omec-project amf up to 2.1.3-dev. The impacted element is the function RANConfiguration of the file ngap/handler.go. The manipulation results in null pointer dereference. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 2.2.0 is sufficient to resolve this issue. Upgrading the affected component is recommended. The same pull request fixes multiple security issues.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"omec-project amf handler.go RANConfiguration null pointer dereference","id":"CVE-2026-8781","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"null_dereference","year":"2026"},"n_packages":3,"n_references":7,"next":{"headline":"omec-project amf NGAP Message handler.go null pointer dereference","id":"CVE-2026-8782"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/omec-project/amf","purl":"pkg:golang/github.com/omec-project/amf","source":"GO-2026-5130"},{"ecosystem":"Go","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"github.com/omec-project/amf","purl":null,"source":"GHSA-4qf2-p32m-7hmf"},{"ecosystem":"Go","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"github.com/omec-project/amf","purl":"pkg:golang/github.com/omec-project/amf","source":"GHSA-4qf2-p32m-7hmf"}],"prev":{"headline":"omec-project amf NGAP Message dispatcher.go memory corruption","id":"CVE-2026-8780"},"products":["amf"],"published":"2026-05-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-18","vendors":["omec-project"]},"summary":"Remote attackers can cause a denial of service via null pointer dereference in the RANConfiguration handler of the omec-project AMF.","url":"https://insights.sbomify.com/CVE-2026-8781/"}