CVE-2026-45047
HIGH 7.5CVSS 3.1Bird-lg-go has a Fatal Out-of-Memory (OOM) Denial of Service via Unbounded JSON Decoding
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.
- Published
- 27 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-400
- Also known as
- GHSA-39qr-rc93-vhqmGO-2026-5077
- Sources
- NVDJSONOSV GHSA-39qr-rc93-vhqmJSONOSV GO-2026-5077JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/xddxdd/bird-lg-go | < 0.0.0-20260507060110-0ff87024cb9e | 0.0.0-20260507060110-0ff87024cb9e |
References
- https://github.com/xddxdd/bird-lg-go/security/advisories/GHSA-39qr-rc93-vhqm · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-45047 · ADVISORY
- https://github.com/xddxdd/bird-lg-go/commit/0ff87024cb9ed01fc5f5fdc6f4603fce4c123922 · WEB, FIX
- https://github.com/xddxdd/bird-lg-go · PACKAGE
- https://github.com/xddxdd/bird-lg-go/releases/tag/v1.4.5 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 May 2026)