CVE-2026-54634
Hamlib: rigctld `send_raw` Stack Out-of-Bounds Write and Uninitialized Memory Disclosure
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
7.3
Hamlib: rigctld `send_raw` Stack Out-of-Bounds Write and Uninitialized Memory Disclosure
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.
- Record
CVE-2026-54634- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-787, CWE-908
- Updated
- 2026-11-02
EUVDEUVD-2026-82573
7.3
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.
- Record
EUVD-2026-82573- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
NVD
7.3
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.
- Record
CVE-2026-54634- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-787, CWE-908
- Updated
- 2026-11-02
OSV
7.3
Hamlib: rigctld `send_raw` Stack Out-of-Bounds Write and Uninitialized Memory Disclosure
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.
- Record
CVE-2026-54634- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-787, CWE-908
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-54634
7.3
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.
- Record
DEBIAN-CVE-2026-54634- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-54634
7.3
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.
- Record
UBUNTU-CVE-2026-54634- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVMGASA-2026-0475 No score
Updated hamlib packages fix a security vulnerability
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.
- Record
MGASA-2026-0475- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11089-1 No score
hamlib-4.7.2-1.1 on GA media
These are all security issues fixed in the hamlib-4.7.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11089-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21155-1 No score
Security update for hamlib
This update for hamlib fixes the following issues:
Changes in hamlib:
-
Update to 4.7.2:
- Fix IC-7600/IC-7610 clock commands
- Icom: Add CWR to modes eligible for DSP filtering
- Kenwood: New model Hamgeek uSGX
- Various fixes for Skywatcher, DX-SR8, FT-710, FTX-1, IC-705, X6100
- rigctld: Fix send_raw stack out-of-bounds write and uninitialized memory CVE-2026-54634 (boo#1268628)
- rigctld: Fix stack/heap overflow primitive in read_string_generic + auth bypass in rigctld + weak password handling (boo#1268629)
-
Update to 4.7.1:
- Various compiler and portability fixes
- Fix rig port timeout
- Fix various FTX-1 meter, level and CTCSS table
- Add power off capability to Flrig backend
- Add SWR to supported 'get levels' for K3/K4
- Add get_split_vfo to TS-850 backend
- New simplecat backend
- Fix and generalize clock handling for Icom radios
- Fix Yaesu attenuator levels and LVL_KEYSPD reinitialization
- Add new rig model Harris PRC-138
- Various FT-710 fixes, eespecially handling SH format and RX bandwidth
- Ensure FT-710 simulator rejects RF command
- Fix low power calculation for K3/K3S
- Fix FTX-1 SH bandwidth command in set/get_mode
-
Update to 4.7.0:
- Revamp Kenwood voice memory handler - Fixes TS-890S & TS-990S
- libusb is now detected using the pkg-config facility.
- Functions rig_get_conf, rot_get_conf, amp_get_conf deprecated use *_get_conf2() instead
- rig_set_trn and rig_get_trn deprecated.
- Many fixes for SWIG binding generation and improved Python support and testing
- Fix AGC for IC-R75, fix AGC for all Icom rigs
- New Drake R8 backend
- New AF6SA WRC rotator backend
- New Yaesu FTX-1 model support (alpha)
- Update QRPLabs QMX backend for max serial rate of 230400 bps
- Updates to Icom IC-F8101
- New rig model Icom ID-52A/W Plus
- Fix memory leaks in rigctld and rigctltcp
- Fix Skywatcher backend for firmware that doesn't echo commands
- Additional Yaesu FTX-1 capabilities
- Add extended commands for the IC-7300MK2--
- Revert updating FLRig model name
- Add manual pages for rigctltcp, rigtestlibusb, rigtestmcast, and rigtestmcastrx
- Pause building rigfreqwalk as the code does not align with the required commandline parameters
- Developer visible changes, code moves and refactoring
-
Update to 4.6.5:
- Update Kenwood CW buffer max message size, fix one byte buffer overrun
- Fix segmentation Faults
- Record
openSUSE-SU-2026:21155-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
hamlibDebian:12 |
All versions, plus listed versions 4.5.4-14.5.5-14.5.5-24.5.5-34.5.5-3.1 Show 21 moreShow less4.5.5-3.1~exp14.5.5-3.1~exp24.5.5-3.24.5.5-44.6.1-14.6.2-14.6.3-14.6.4-14.6.4-24.6.4-34.6.5-14.6.5-24.6.5-34.6.5-44.6.5-54.7.1-14.7.1-24.7.1-34.7.2-14.7.2-1~bpo13+14.7.2-2 |
None known |
hamlibDebian:13 |
All versions, plus listed versions 4.6.2-14.6.3-14.6.4-14.6.4-24.6.4-3 Show 11 moreShow less4.6.5-14.6.5-24.6.5-34.6.5-44.6.5-54.7.1-14.7.1-24.7.1-34.7.2-14.7.2-1~bpo13+14.7.2-2 |
None known |
hamlibDebian:14 |
before 4.7.2-1, plus listed versions 4.6.2-14.6.3-14.6.4-14.6.4-24.6.4-3 Show 9 moreShow less4.6.5-14.6.5-24.6.5-34.6.5-44.6.5-54.7.1-14.7.1-24.7.1-34.7.2-1~bpo13+1 |
4.7.2-1 |
hamlibMageia:10 |
before 4.7.2-1.mga10 | 4.7.2-1.mga10 |
hamlibUbuntu:16.04:LTS |
All versions, plus listed versions 1.2.15.3-31.2.15.3-3.11.2.15.3-3.1build1 |
None known |
hamlibUbuntu:18.04:LTS |
All versions, plus listed versions 3.1-73.1-7build1 |
None known |
hamlibUbuntu:20.04:LTS |
All versions, plus listed versions 3.3-53.3-5ubuntu13.3-73.3-83.3-103.3-10build1 |
None known |
hamlibUbuntu:22.04:LTS |
All versions, plus listed versions 4.0-74.0-7build14.3.1-14.3.1-1build14.3.1-1build2 |
None known |
hamlibUbuntu:24.04:LTS |
All versions, plus listed versions 4.5.5-24.5.5-2build14.5.5-34.5.5-3build24.5.5-3.2build14.5.5-3.2build2 |
None known |
hamlibUbuntu:26.04:LTS |
All versions, plus listed versions 4.6.2-1build14.6.2-1build24.6.5-54.6.5-5build1 |
None known |
hamlibopenSUSE:Tumbleweed |
before 4.7.2-1.1 | 4.7.2-1.1 |
hamlibopenSUSE:Leap 16.0 |
before 4.7.2-bp160.1.1 | 4.7.2-bp160.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-54634 is a high vulnerability (CVSS 7.3) in Hamlib, published June 22, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.44%, the 38th percentile. Fixed in hamlib 4.7.2-1.
References
github.com/Hamlib/Hamlib/security/advisories/GHSA-gpcq-c37x-pr46
github.com/Hamlib/Hamlib/commit/3e3f78fc7732a4ce0da97b7a86d6d9fd9bd117c4
github.com/Hamlib/Hamlib/commit/47171005bf041f520bb134edf796b9f6fc27e6bf
github.com/Hamlib/Hamlib/commit/587f7bb2c6442e36ed5b6021f6ee9951daf1576b
github.com/Hamlib/Hamlib/commit/a3a7f00d759edadbe195d112dc89006ae8db146e
github.com/Hamlib/Hamlib/releases/tag/4.7.2
Show 10 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54634.json
nvd.nist.gov/vuln/detail/CVE-2026-54634
security-tracker.debian.org/tracker/CVE-2026-54634
advisories.mageia.org/MGASA-2026-0475.html
bugs.mageia.org/show_bug.cgi?id=35756
ubuntu.com/security/CVE-2026-54634
cve.org/CVERecord?id=CVE-2026-54634
suse.com/security/cve/CVE-2026-54634
bugzilla.suse.com/1268628
bugzilla.suse.com/1268629