{"id":"UBUNTU-CVE-2026-5124","details":"A security vulnerability has been detected in osrg GoBGP up to 4.3.0. Affected is the function BGPHeader.DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP Header Handler. The manipulation leads to improper access controls. Remote exploitation of the attack is possible. The attack is considered to have high complexity. The exploitability is told to be difficult. The identifier of the patch is f0f24a2a901cbf159260698211ab15c583ced131. To fix this issue, it is recommended to deploy a patch.","modified":"2026-06-03T07:15:34.645865545Z","published":"2026-03-30T17:16:00Z","upstream":["CVE-2026-5124"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-5124"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-5124"},{"type":"REPORT","url":"https://github.com/osrg/gobgp/pull/3340"}],"affected":[{"package":{"name":"gobgp","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gobgp?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15-1","1.29-1","1.29-1ubuntu0.1+esm1","1.29-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"gobgpd","binary_version":"1.29-1ubuntu0.1+esm2"},{"binary_name":"golang-github-osrg-gobgp-dev","binary_version":"1.29-1ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5124.json"}},{"package":{"name":"gobgp","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/gobgp?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.33-1","2.11.0-1","2.12.0-1","2.12.0-1ubuntu0.1~esm1","2.12.0-1ubuntu0.1~esm2","2.12.0-1ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.12.0-1ubuntu0.1~esm3","binary_name":"gobgpd"},{"binary_name":"golang-github-osrg-gobgp-dev","binary_version":"2.12.0-1ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5124.json"}},{"package":{"name":"gobgp","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/gobgp?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.25.0-2","2.25.0-3","2.25.0-3build1","2.25.0-3ubuntu0.1","2.25.0-3ubuntu0.1+esm1","2.25.0-3ubuntu0.1+esm2","2.25.0-3ubuntu0.1+esm3","2.25.0-3ubuntu0.1+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"gobgpd","binary_version":"2.25.0-3ubuntu0.1+esm4"},{"binary_version":"2.25.0-3ubuntu0.1+esm4","binary_name":"golang-github-osrg-gobgp-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5124.json"}},{"package":{"name":"gobgp","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/gobgp?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.16.0-1build1","3.19.0-1","3.21.0-1","3.23.0-1","3.23.0-1ubuntu0.1","3.23.0-1ubuntu0.2","3.23.0-1ubuntu0.2+esm1","3.23.0-1ubuntu0.3","3.23.0-1ubuntu0.3+esm1","3.23.0-1ubuntu0.3+esm2","3.23.0-1ubuntu0.3+esm3","3.23.0-1ubuntu0.3+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"gobgpd","binary_version":"3.23.0-1ubuntu0.3+esm4"},{"binary_name":"golang-github-osrg-gobgp-dev","binary_version":"3.23.0-1ubuntu0.3+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5124.json"}},{"package":{"name":"gobgp","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/gobgp?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.35.0-1","3.36.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"gobgpd","binary_version":"3.36.0-2"},{"binary_name":"golang-github-osrg-gobgp-dev","binary_version":"3.36.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5124.json"}},{"package":{"name":"gobgp","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/gobgp?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.36.0-2","3.36.0-2build1","3.36.0-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"gobgpd","binary_version":"3.36.0-2ubuntu0.1~esm1"},{"binary_name":"golang-github-osrg-gobgp-dev","binary_version":"3.36.0-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5124.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}