CVE-2026-45047
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.
How to fix
- github.com/xddxdd/bird-lg-go0.0.0-20260507060110-0ff87024cb9e or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/xddxdd/bird-lg-goGo | v < 0.0.0-20260507060110-0ff87024cb9e | 0.0.0-20260507060110-0ff87024cb9e |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.