CVE-2026-45047: Github.com/xddxdd/bird lg go Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-39qr-rc93-vhqm
CVSS 7.5
CWE-400
Published
Advisory Summary

CVE-2026-45047 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/xddxdd/bird lg go libraries in the Go ecosystem. The issue involves bird-lg-go has a fatal out-of-memory (oom) denial of service via unbounded json decoding. Remediation is available by upgrading affected packages to version 0.0.0-20260507060110-0ff87024cb9e.

CVE-2026-45047 at a Glance

CVE Identifier CVE-2026-45047
GHSA Identifier GHSA-39qr-rc93-vhqm
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Github.com/xddxdd/bird lg go
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-45047

To remediate this vulnerability, upgrade all affected Github.com/xddxdd/bird lg go dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/xddxdd/bird-lg-go fixed: 0.0.0-20260507060110-0ff87024cb9e
Upgrade github.com/xddxdd/bird-lg-go to 0.0.0-20260507060110-0ff87024cb9e
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/xddxdd/bird-lg-go

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-45047, inspect your project dependencies for Github.com/xddxdd/bird lg go:

inspect dependencies for github.com/xddxdd/bird-lg-go

Analyze the terminal output to locate any version of Github.com/xddxdd/bird lg go in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260507060110-0ff87024cb9e), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/xddxdd/bird lg go, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary 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). ### Details In `api.go`: ```go func apiHandler(w http.ResponseWriter, r *http.Request) { var request apiRequest // VULNERABILITY: No http.MaxBytesReader protection before JSON decode err := json.NewDecoder(r.Body).Decode(&request) // ...

CVE-2026-45047 Affected Github.com/xddxdd/bird lg go Versions

1 component(s)
Fixed Versions:
0.0.0-20260507060110-0ff87024cb9e
Product / Package Ecosystem Affected Versions Fixed Version
github.com/xddxdd/bird-lg-go
Go
< 0.0.0-20260507060110-0ff87024cb9e
0.0.0-20260507060110-0ff87024cb9e

References

Frequently Asked Questions

What is CVE-2026-45047?
CVE-2026-45047 is a security vulnerability in Github.com/xddxdd/bird lg go involving Bird-lg-go has a Fatal Out-of-Memory (OOM) Denial of Service via Unbounded JSON Decoding under CWE-400: Uncontrolled Resource Consumption.
Which Github.com/xddxdd/bird lg go versions are affected?
Affected versions include releases prior to 0.0.0-20260507060110-0ff87024cb9e across affected packages: github.com/xddxdd/bird-lg-go.
What version fixes CVE-2026-45047?
Upgrading to 0.0.0-20260507060110-0ff87024cb9e (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/xddxdd/bird-lg-go affected?
Yes, github.com/xddxdd/bird-lg-go is affected in releases prior to 0.0.0-20260507060110-0ff87024cb9e. Upgrade your dependency to 0.0.0-20260507060110-0ff87024cb9e or later.
What is the CVSS score of CVE-2026-45047?
CVE-2026-45047 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-45047?
CVE-2026-45047 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Go dependencies for CVE-2026-45047?
Run the dependency tree command: 'inspect dependencies for github.com/xddxdd/bird-lg-go'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-39qr-rc93-vhqm",
  "modified" : "2026-06-08T23:49:47Z",
  "published" : "2026-05-11T16:17:48Z",
  "aliases" : [ "CVE-2026-45047" ],
  "summary" : "Bird-lg-go has a Fatal Out-of-Memory (OOM) Denial of Service via Unbounded JSON Decoding",
  "details" : "### Summary\nThe `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`. \n\nThis causes the Linux OOM Killer to instantly terminate the entire `bird-lg-go` daemon, resulting in a severe Remote Denial of Service (RDoS).\n\n### Details\nIn `api.go`:\n```go\nfunc apiHandler(w http.ResponseWriter, r *http.Request) {\n    var request apiRequest\n    // VULNERABILITY: No http.MaxBytesReader protection before JSON decode\n    err := json.NewDecoder(r.Body).Decode(&request) \n    // ...",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/xddxdd/bird-lg-go"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260507060110-0ff87024cb9e"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xddxdd/bird-lg-go/security/advisories/GHSA-39qr-rc93-vhqm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45047"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xddxdd/bird-lg-go/commit/0ff87024cb9ed01fc5f5fdc6f4603fce4c123922"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xddxdd/bird-lg-go"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xddxdd/bird-lg-go/releases/tag/v1.4.5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-11T16:17:48Z",
    "nvd_published_at" : "2026-05-27T18:16:24Z"
  }
}