Skip to content
OpenAdvisories
High · 7.3 CVE-2026-54634 EUVD-2026-82573

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

Published Sep 17, 2026 · Updated Sep 18, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
Hamlib Hamlib < 4.7.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 hamlib 4.7.2-1 —
Debian 13 hamlib No fix yet —
Debian 12 hamlib No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS hamlib No fix yet —
Ubuntu 24.04 LTS hamlib No fix yet —
Ubuntu 22.04 LTS hamlib No fix yet —
Ubuntu 20.04 LTS hamlib No fix yet —
Ubuntu 18.04 LTS hamlib No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS hamlib No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed hamlib 4.7.2-1.1 openSUSE-SU-2026:11089-1
openSUSE Leap 16.0 hamlib 4.7.2-bp160.1.1 openSUSE-SU-2026:21155-1

Advisories 2

References