Skip to content
OpenAdvisories
High · 7.5 CVE-2026-45047 EUVD-2026-32583GHSA-39qr-rc93-vhqmGO-2026-5077

bird-lg-go: Fatal Out-of-Memory (OOM) Denial of Service via Unbounded JSON Decoding

Published May 27, 2026 · Updated May 27, 2026 · Assigned by GitHub_M

Description

bird-lg-go is a BIRD looking glass in Go. Prior to 1.4.5, the apiHandler (and similarly webHandlerTelegramBot) processes user-provided JSON payloads by directly using json.NewDecoder(r.Body).Decode(&request) without restricting the maximum read size. An unauthenticated remote attacker can stream an extremely large, endless JSON payload (e.g., several Gigabytes of padding) over a single TCP connection. Because Go's JSON decoder attempts to allocate memory for the entire parsed structure, this rapidly exhausts the host's physical RAM or container limits, leading to an unrecoverable fatal error: runtime: out of memory. This vulnerability is fixed in 1.4.5.

Affected products

VendorProductAffectedFixed
xddxdd bird-lg-go < 1.4.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/xddxdd/bird-lg-go < 0.0.0-20260507060110-0ff87024cb9e 0.0.0-20260507060110-0ff87024cb9e GHSA-39qr-rc93-vhqm

Advisories 1

References