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.
Published: 2026-09-17
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: Memory corruption and information disclosure
Action: Patch immediately
AI Analysis

Impact

A remote, unauthenticated client can exploit the rigctld send_raw command on TCP port 4532 to trigger two distinct issues in Hamlib versions prior to 4.7.2. The first flaw is a stack out‑of‑bounds write that places a NUL byte beyond a 200‑byte buffer, which can corrupt adjacent stack memory or crash the daemon. The second flaw is an oversized copy that returns up to 198 bytes of uninitialized stack data to the client. These weaknesses correspond to CWE‑787 and CWE‑908 and allow a remote attacker to cause denial of service or exfiltrate sensitive data from the stack. The impact is limited to the daemon process and any applications that rely on the library for radio control.

Affected Systems

Hamlib, the ham radio control library used by radios, rotators, and amplifiers, is affected. Any installation running a version older than 4.7.2 is vulnerable. Although the version field was not explicitly listed in the CNA data, the advisory states that all releases prior to 4.7.2 contain the flaw.

Risk and Exploitability

The CVSS score of 7.3 indicates high severity. The EPSS score of less than 1% suggests a low probability of exploitation at the moment, and the vulnerability is not currently recorded in the CISA KEV catalog. The likely attack vector is an unauthenticated TCP connection to port 4532 made by a remote client, after which a short payload is sent that triggers both the out‑of‑bounds write and the uninitialized data copy. Exploitability requires remote network access, but no privileged credentials are needed. The consequence range is from a simple crash to potential data leakage, and the scope is limited to the affected daemon and its privileges.

Generated by OpenCVE AI on September 19, 2026 at 00:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Hamlib to version 4.7.2 or later
  • Block traffic to TCP port 4532 from untrusted networks using a firewall until the patch is applied
  • Enable rigctld password authentication or restart the daemon with authentication enabled to force client credentials

Generated by OpenCVE AI on September 19, 2026 at 00:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 20 Sep 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 18 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Hamlib
Hamlib hamlib
Vendors & Products Hamlib
Hamlib hamlib

Thu, 17 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
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.
Title Hamlib: rigctld `send_raw` Stack Out-of-Bounds Write and Uninitialized Memory Disclosure
Weaknesses CWE-787
CWE-908
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-18T14:43:00.233Z

Reserved: 2026-06-15T20:07:02.185Z

Link: CVE-2026-54634

cve-icon Vulnrichment

Updated: 2026-09-18T14:40:06.002Z

cve-icon NVD

Status : Deferred

Published: 2026-09-17T22:17:01.840

Modified: 2026-09-24T21:25:27.050

Link: CVE-2026-54634

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T00:15:13Z

Weaknesses