Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed rigctld on TCP 4532
-
ExploitSend send_raw with short payload + CR
-
ExecutionTrigger OOB NUL write and oversized reply copy
-
ImpactCrash 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
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).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Same weakness CWE-787 – Out-of-bounds Write
View allSame technique Buffer Overflow
View allVendor 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 |
EUVD-2026-82573
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB