Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/xddxdd/bird-lg-go
  4. ›
  5. CVE-2026-45047

CVE-2026-45047: Bird-lg-go has a Fatal Out-of-Memory (OOM) Denial of Service via Unbounded JSON Decoding

May 11, 2026 (updated June 8, 2026)

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 causes the Linux OOM Killer to instantly terminate the entire bird-lg-go daemon, resulting in a severe Remote Denial of Service (RDoS).

References

  • github.com/advisories/GHSA-39qr-rc93-vhqm
  • github.com/xddxdd/bird-lg-go/commit/0ff87024cb9ed01fc5f5fdc6f4603fce4c123922
  • github.com/xddxdd/bird-lg-go/releases/tag/v1.4.5
  • github.com/xddxdd/bird-lg-go/security/advisories/GHSA-39qr-rc93-vhqm
  • nvd.nist.gov/vuln/detail/CVE-2026-45047

Code Behaviors & Features

Detect and mitigate CVE-2026-45047 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260507060110-0ff87024cb9e

Fixed versions

  • 0.0.0-20260507060110-0ff87024cb9e

Solution

Upgrade to version 0.0.0-20260507060110-0ff87024cb9e or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/xddxdd/bird-lg-go/CVE-2026-45047.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:43 +0000.