Vulnerability · Published Sep 17, 2026 · Assigned by GitHub_M

CVE-2026-54634Hamlib: rigctld `send_raw` Stack Out-of-Bounds Write and Uninitialized Memory Disclosure

High 7.3

In plain English

A high-severity out-of-bounds write in Hamlib from Hamlib. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.4%top 61.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Hamlib is a ham radio control library for radios, rotators, and amplifiers. Prior to 4.7.2, the unauthenticated rigctld send_raw command on TCP port 4532 reaches rigctl_send_raw() in tests/rigctl_parse.c, which writes a NUL byte at buf[buf_len + 1] outside its 200-byte stack buffer, and rig_send_raw() in src/rig.c, which copies reply_len - 1 bytes instead of the actual nbytes received. A remote client can send the CR terminator with a short payload to trigger both flaws in one command under the default no-password configuration. The out-of-bounds write can crash the daemon or corrupt adjacent stack memory, while the oversized copy can return up to 198 bytes of uninitialized stack data to the client. This issue is fixed in version 4.7.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12hamlibno fix listedDEBIAN-CVE-2026-54634
Debian:13hamlibno fix listedDEBIAN-CVE-2026-54634
Debian:14hamlib4.7.2-1DEBIAN-CVE-2026-54634
Ubuntu:22.04:LTShamlibno fix listedUBUNTU-CVE-2026-54634
Ubuntu:24.04:LTShamlibno fix listedUBUNTU-CVE-2026-54634
Ubuntu:26.04:LTShamlibno fix listedUBUNTU-CVE-2026-54634

Affected products (as reported)

VendorProductVersions
Hamlib Hamlib < 4.7.2

Weakness: CWE-787, CWE-908 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

References