Hamlib: rigctld `send_raw` Stack Out-of-Bounds Write and Uninitialized Memory Disclosure

Summary

CVECVE-2026-54634
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 22:17:01 UTC
Updated2026-09-18 15:17:09 UTC
DescriptionHamlib 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.

Risk And Classification

Primary CVSS: v3.1 7.3 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

EPSS: 0.002510000 probability, percentile 0.168030000 (date 2026-09-20)

Problem Types: CWE-787 | CWE-908 | CWE-787 CWE-787: Out-of-bounds Write | CWE-908 CWE-908: Use of Uninitialized Resource


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.3HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
3.1CNADECLARED7.3HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v3.1 Breakdown

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Hamlib Hamlib affected < 4.7.2 Not specified

References

ReferenceSourceLinkTags
github.com/Hamlib/Hamlib/commit/587f7bb2c6442e36ed5b6021f6ee9951daf1576b [email protected] github.com
github.com/Hamlib/Hamlib/commit/3e3f78fc7732a4ce0da97b7a86d6d9fd9bd117c4 [email protected] github.com
github.com/Hamlib/Hamlib/commit/a3a7f00d759edadbe195d112dc89006ae8db146e [email protected] github.com
github.com/Hamlib/Hamlib/releases/tag/4.7.2 [email protected] github.com
github.com/Hamlib/Hamlib/security/advisories/GHSA-gpcq-c37x-pr46 [email protected] github.com
github.com/Hamlib/Hamlib/commit/47171005bf041f520bb134edf796b9f6fc27e6bf [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report