{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-5123 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-5123 is a medium-severity vulnerability in osrg GoBGP, published on 30 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-5123 and fix it if it is affected.\n\nWhat it is: CVE-2026-5123 is a medium-severity vulnerability in osrg GoBGP, published on 30 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-5123 in the wild and no public exploit code.\n\nAffected product: osrg GoBGP. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-5123/ (Markdown: https://insights.sbomify.com/CVE-2026-5123/index.md)","id":"CVE-2026-5123","markdown":"https://insights.sbomify.com/CVE-2026-5123/index.md","name":"CVE-2026-5123","record":{"aliases":["DEBIAN-CVE-2026-5123","GHSA-m763-9mqf-95rq","UBUNTU-CVE-2026-5123"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GoBGP library","requires_auth":"none","summary":"An off-by-one error in GoBGP's DecodeFromBytes function allows remote attackers to cause a denial of service via complex manipulation.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"gobgp","vendor":"osrg"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X","version":"4.0"},"cwes":[{"id":"CWE-193","name":"Off-by-one Error"},{"id":"CWE-189","name":null}],"description":"A weakness has been identified in osrg GoBGP up to 4.3.0. This impacts the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go. Executing a manipulation of the argument data[1] can lead to off-by-one. The attack may be launched remotely. Attacks of this nature are highly complex. The exploitability is said to be difficult. This patch is called 67c059413470df64bc20801c46f64058e88f800f. A patch should be applied to remediate this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"osrg GoBGP bgp.go DecodeFromBytes off-by-one","id":"CVE-2026-5123","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"osrg GoBGP BGP Header bgp.go BGPHeader.DecodeFromBytes access control","id":"CVE-2026-5124"},"packages":[],"prev":{"headline":"osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control","id":"CVE-2026-5122"},"products":["GoBGP"],"published":"2026-03-30","related":[{"cvss_score":8.6,"headline":"GoBGP panics due to a zero value for softwareVersionLen","id":"CVE-2025-43971","kev_date_added":null,"published":"2025-04-21"},{"cvss_score":7.5,"headline":"GoBGP: Remote Denial of Service (Panic) via Malformed Well-known Path Attribute","id":"CVE-2026-41642","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.5,"headline":"GoBGP: Remote Denial of Service (Panic) in UpdatePathAttrs4ByteAs via Malformed BGP UPDATE","id":"CVE-2026-41643","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.5,"headline":"GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)","id":"CVE-2026-42285","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.5,"headline":"GoBGP has an out-of-bounds read in the ParseIP6Extended function","id":"CVE-2026-37461","kev_date_added":null,"published":"2026-05-04"},{"cvss_score":7.5,"headline":"GoBGP vulnerable to a denial of service via the NEXT_HOP path attribute","id":"CVE-2026-30405","kev_date_added":null,"published":"2026-03-16"},{"cvss_score":6.9,"headline":"osrg GoBGP SRv6 L3 Service prefix_sid.go SRv6L3ServiceAttribute.DecodeFromBytes denial of service","id":"CVE-2026-7734","kev_date_added":null,"published":"2026-05-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-01","vendors":["osrg"]},"summary":"An off-by-one error in GoBGP's DecodeFromBytes function allows remote attackers to cause a denial of service via complex manipulation.","url":"https://insights.sbomify.com/CVE-2026-5123/"}