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:

  • CWE-476 — NULL pointer dereference.
  • CVSS 3.1: 7.5 — AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Network,
    low complexity, no privileges, no user interaction, availability only.
  • Advisory GHSA-7235-89m6-f4px, published 22 April 2026 by the maintainer;
    credited to bacon251.
  • NVD published 7 May 2026; affected version 4.3.0 only.
  • Fixed in 4.4.0, released 1 April 2026.

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:

  • RFC 4271 defines exactly what a speaker must do with an unrecognised
    Well-known attribute: send a NOTIFICATION and terminate the session. The
    protocol has an error path for this input, and it is not exotic — it is the
    path that lets speakers with different capabilities fail cleanly.
  • GoBGP detected the condition and then failed to act on the detection. The
    error was known at one layer and lost at the next.
  • The surrounding code was not written to survive a malformed message at all.
    Go's panic idiom — "this should never happen" — is correct for a programming
    error in your own code. It is the wrong contract for bytes chosen by a peer.

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:

  • 4.4.0 (1 April 2026) fixes CVE-2026-41642.
  • The latest release at the time of writing is 4.11.0 (1 November 2026).

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.