CVEfocus › CVE database › CVE-2026-49838

CVE-2026-49838GoBGP confederation validation panics on empty AS_PATH attribute

CVSS 5.9 MediumEPSS 0.4% (higher than 27% of CVEs)Published 2026-09-10Updated 2026-09-11Assigner: GitHub_M

GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Prior to version 4.7.0, GoBGP accepts a zero-length AS_PATH during UPDATE decoding and later panics while validating that attribute for a confederation eBGP peer. The vulnerable path is in the BGP UPDATE validator: a malformed UPDATE that should be rejected as a malformed AS_PATH instead reaches an unchecked `p.Value[0]` access, allowing a configured confederation eBGP peer to trigger a denial of service. Version 4.7.0 patches the issue.

CWE-129

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
8Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gobgpFix pendingUBUNTU-CVE-2026-49838
Ubuntu 26.04gobgpFix pendingUBUNTU-CVE-2026-49838
Ubuntu 25.10gobgpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-49838
Ubuntu 24.04gobgpFix pendingUBUNTU-CVE-2026-49838
Ubuntu 22.04gobgpFix pendingUBUNTU-CVE-2026-49838
Ubuntu 20.04gobgpFix pendingUBUNTU-CVE-2026-49838
Ubuntu 18.04gobgpFix pendingUBUNTU-CVE-2026-49838
Debian 14gobgpFixed4.7.0-1DEBIAN-CVE-2026-49838
Debian 13gobgpFix pendingDEBIAN-CVE-2026-49838
Debian 12gobgpFix pendingDEBIAN-CVE-2026-49838
Go librarygithub.com/osrg/gobgp/v4Fixed4.7.0GHSA-frrj-87jh-2772

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.