Bug 2538940 (CVE-2026-54634) - CVE-2026-54634 Hamlib: Hamlib: Remote Unauthenticated Memory Corruption and Information Disclosure via `send_raw` command
Summary: CVE-2026-54634 Hamlib: Hamlib: Remote Unauthenticated Memory Corruption and I...
Keywords:
Status: NEW
Alias: CVE-2026-54634
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2539332 2539333 2539334
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-22 21:45 UTC by OSIDB Bzimport
Modified: 2026-09-23 10:50 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-22 21:45:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.