The First and Most Fundamental Flaw: CVE-2026-41642

Site Admin · 29 Nov 2026 · Routing & Protocols

The advisory is unusually specific: an unrecognised attribute marked Well-known, the parsing layer identifies the error, the FSM loop does not halt, and the message body it dereferences is nil. CWE-476, CVSS 7.5, fixed in 4.4.0. This part takes the sentence apart and states what is documented, inferred and unknown.

A malformed UPDATE marks an attribute it does not implement as Well-known.
The parser recognises the error. The session loop keeps going anyway, and
dereferences a body that is not there. Twenty-three bytes end the process.

What the advisory says

In version 4.3.0, a remote Denial of Service (DoS) vulnerability exists in
GoBGP due to a nil pointer dereference. When a malformed BGP UPDATE message
contains an unrecognized Path Attribute marked as "Well-known," the daemon
fails to interrupt the message handling flow. This results in an illegal
memory access and a full process crash (panic). This issue has been patched
in version 4.4.0.

The record adds the details that make it a corpus entry:

Where the flaw lives

The advisory is unusually specific, and the specificity is the story:

The vulnerability is located in the Finite State Machine (FSM) message
handling loop in pkg/server/fsm.go. […] the logic in recvMessageloop
(around Line 1826) does not properly halt execution. It proceeds to
reference the body of the parsed message. Because the message was deemed
invalid during the initial attribute check, the body pointer is nil.

Two layers, two different beliefs about the same message:

  1. The parsing layer reads the attribute flags. Optional bit clear means
    Well-known. The type code is one it does not implement. It marks the
    message invalid — the correct call.
  2. The session loop receives the result and keeps going. It does not
    branch to the error path. It touches the message body. The body was never
    populated, because the message was rejected. The pointer is nil.

Go raises a nil pointer dereference, unrecovered, in a serving goroutine. The
runtime prints a stack trace and exits. There is no "drop this message and
continue" in the default behaviour.

The payload

The advisory publishes the trigger. The essential bytes:

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
00 17                # Length 23
02                   # Type UPDATE
00 00                # Withdrawn routes length 0
00 04                # Path attribute length 4
40 EE 00             # Flags 0x40 (Well-known, Transitive),
                     # type 0xEE (unrecognised), length 0

A second payload uses type 0xFF after a valid ORIGIN attribute. Both are
valid BGP framing; the defect is semantic. No oversized buffer, no integer
overflow, no memory corruption — a length-zero attribute whose only crime is
being unknown while claiming to be mandatory.

Why it is the fundamental flaw

Every smaller failure in part 6 is an edge. This one is the contract:

A BGP daemon's input is adversarial by definition: every peer is a potential
bug injector, and at an exchange, every member is a peer. The parser must
return errors, the loop must honour them, and the process must survive the
ones nobody anticipated. The CVE is the cost of skipping the third.

The correction to the corpus

The corpus reviewed this as OPEN, no fix, and scored the impact with that
assumption. That is no longer true. The advisory, the patch release and the
release date are public:

The impact score (6.45, rank 11) still describes the bug's severity if you are
running 4.3.0. The status line does not describe the world after April.

Evidence quality

Documented: the CVE description, CWE, CVSS vector, affected and patched
versions, the GHSA text, the code location, the two PoCs, the finder credit,
and the release dates.

Inferred: that every session on the daemon dies with the process (Go
semantics plus the single-process design), and the operational consequences at
exchange scale. The first is how the daemon is built; the second follows from
the route-server role in part 2.

Unknown: whether the bug was ever exploited in the wild; how many
deployments ran 4.3.0 during its two-month window; and whether any downstream
project embedded the vulnerable module without tracking it.

Next: Part 8 — patched quietly, still running the vulnerable line: the
version story and the silent fix.