Skip to main content

Hamlib CVE-2026-54634

| EUVDEUVD-2026-82573 HIGH
Out-of-bounds Write (CWE-787)
2026-09-17 security-advisories@github.com
7.3
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed rigctld on TCP 4532
  2. Exploit
    Send send_raw with short payload + CR
  3. Execution
    Trigger OOB NUL write and oversized reply copy
  4. Impact
    Crash daemon or leak up to 198 bytes stack memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires network reachability to the rigctld daemon listening on TCP port 4532 running the default no-password configuration (no authentication needed). Exploitation is a single send_raw command with a short payload terminated by a CR. The principal limiting factor is exposure: rigctld is frequently bound to localhost and only reachable remotely when the operator deliberately exposes the port, so realistic attack surface is narrower than AV:N/PR:N alone suggests. No user interaction, special platform, or non-default feature beyond the network-listening daemon is required.

Impact

This is a genuine but bounded network-exposed memory-safety issue. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) confirms remote, low-complexity, unauthenticated exploitation, which is corroborated by the description's note that rigctld runs under a default no-password configuration on TCP port 4532. Impact is deliberately scored low across the board (C:L/I:L/A:L, score 7.3): the out-of-bounds NUL write corrupts adjacent stack memory or crashes the daemon (availability + limited integrity), and the oversized copy leaks up to 198 bytes of uninitialized stack (limited confidentiality). No EPSS score, KEV listing, or public POC is present in the input, so this is 'no public exploit identified at time of analysis' - a real but not urgent priority. The most important limiting factor NOT captured in the CVSS vector is that rigctld is commonly bound to localhost and only exposed to the network when the operator deliberately configures it, so the AV:N/PR:N combination overstates typical real-world reachability. Note the fix commit only shows the src/rig.c oversized-copy repair; the OOB-write fix in tests/rigctl_parse.c is in the sibling commits referenced but not shown in the provided diff.

Exploit ScenarioDerived

An attacker who can reach an exposed rigctld daemon on TCP 4532 connects without credentials (default no-password mode) and issues a send_raw command with a short payload terminated by CR. This single command simultaneously triggers the out-of-bounds NUL write (crashing the daemon or corrupting stack memory) and the oversized reply copy, returning up to 198 bytes of uninitialized stack data to the attacker. No public exploit code is identified at time of analysis, though the fix commit diff essentially documents the mechanism.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 17, 2026

Unauthenticated remote attackers can crash or corrupt the Hamlib rigctld daemon on TCP port 4532 by sending a crafted send_raw command with a short payload terminated by CR, exploiting a one-byte out-of-bounds NUL write on the stack and an oversized memory copy that returns up to 198 bytes of uninitialized stack data. Affecting Hamlib versions before 4.7.2 under the default no-password configuration, the issue is fixed in 4.7.2. No public exploit code has been identified at time of analysis, and realistic exposure is limited to deployments that deliberately expose rigctld beyond localhost.

RemediationAI

Upgrade to Hamlib 4.7.2 or later, which corrects the memcpy length in rig_send_raw() and fixes the off-by-one NUL write in rigctl_send_raw(). If immediate upgrade is not possible, mitigate by binding rigctld to localhost only so that TCP port 4532 is not exposed to untrusted networks, configuring rigctld with a non-default password (the default is no-password), or restricting network access to the port with firewall rules. These workarounds reduce exposure but do not eliminate the underlying memory-safety flaws. Vendor references: GHSA-gpcq-c37x-pr46, release tag 4.7.2, and the four upstream commits.

Affected VersionsENISA

Hamlib < 4.7.2

Affected Packages

euvd hamlib fix: 4.7.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Hamlib is a library for controlling ham radios, rotators, and amplifiers. The rigctld daemon exposes a TCP interface on port 4532 for rig control commands, including send_raw which passes arbitrary bytes to the connected rig. The vulnerability consists of two memory-safety flaws triggered by the same send_raw command: in tests/rigctl_parse.c, rigctl_send_raw() writes a NUL byte at buf[buf_len + 1], one byte past the end of a 200-byte stack buffer (CWE-787 out-of-bounds write); in src/rig.c, rig_send_raw() uses memcpy(reply, buf, reply_len - 1) instead of the actual nbytes, copying up to 198 bytes of adjacent stack memory back to the client. The root cause is improper bounds checking on attacker-controlled input. The upstream fix changes the memcpy to use nbytes. No CPE data was provided.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 7.3 HIGH

Unauthenticated remote command on default no-password TCP daemon (AV:N/AC:L/PR:N); impacts are limited: ~198-byte uninitialized stack leak (C:L), stack corruption (I:L), and daemon crash (A:L).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch available
Sep 17, 2026 - 23:04 EUVD
CVE Published
Sep 17, 2026 - 22:17 cve.org
HIGH 7.3

DescriptionCVE.org

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.

Technical POC Analysis

Two distinct defects in one command path, primary weakness CWE-787 (out-of-bounds write), secondary CWE-908 (use of uninitialized resource).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity flaw in Hamlib's rigctld daemon (CVE-2026-54634, CVSS 7.3) allows a remote attacker to crash the service and leak up to 198 bytes of uninitialized stack memory via a malformed send_raw command to TCP port 4532. Impact is confined to deployments that deliberately expose rigctld beyond localhost and that run Hamlib versions before 4.7.2 under the default no-password configuration, making this primarily an availability and information-disclosure risk for radio control infrastructure rather than an enterprise-wide exposure. Leadership should care because internet-facing rigctld instances are trivially reachable and can be disrupted repeatedly, and the memory disclosure may expose host or process data to unauthenticated parties.

Business Impact: Medium
Compensating Controls

Apply vendor patch (Hamlib 4.7.2); until it is deployed, restrict TCP port 4532 to trusted hosts via network and host firewalls, bind rigctld to localhost only, and avoid running the daemon in the default no-password configuration on any externally reachable interface.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
de facto ham radio control library but niche amateur-radio hobbyist domain
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Package Hub 15 SP7 Fixed
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SUSE Package Hub 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy