---
id: CVE-2026-54634
title: 'Hamlib is a ham radio control library for radios, rotators, and amplifiers'
summary: >-
  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[b…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-787
  - CWE-908
vendor: Hamlib
product: Hamlib
affected:
  - Hamlib < 4.7.2
published: '2026-09-17'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:25:27.050'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54634'
references:
  - url: >-
      https://github.com/Hamlib/Hamlib/commit/3e3f78fc7732a4ce0da97b7a86d6d9fd9bd117c4
    label: security-advisories@github.com
  - url: >-
      https://github.com/Hamlib/Hamlib/commit/47171005bf041f520bb134edf796b9f6fc27e6bf
    label: security-advisories@github.com
  - url: >-
      https://github.com/Hamlib/Hamlib/commit/587f7bb2c6442e36ed5b6021f6ee9951daf1576b
    label: security-advisories@github.com
  - url: >-
      https://github.com/Hamlib/Hamlib/commit/a3a7f00d759edadbe195d112dc89006ae8db146e
    label: security-advisories@github.com
  - url: 'https://github.com/Hamlib/Hamlib/releases/tag/4.7.2'
    label: security-advisories@github.com
  - url: 'https://github.com/Hamlib/Hamlib/security/advisories/GHSA-gpcq-c37x-pr46'
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54634.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-54634'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-54634'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00441
epssPercentile: 0.35828
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-18T14:40:03.689703Z'
scores:
  nvd: 7.3
  vendor: 8.6
ingestedAt: '2026-09-17T22:30:21.402Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · updated 2026-09-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54634.json)
