Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54634— Hamlib: rigctld `send_raw` Stack Out-of-Bounds Write and Uninitialized Memory Disclosure

Quick assessment

Affected
Hamlib Hamlib
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

hamlib 是一个用于控制业余无线电设备(收发信机、旋向器、放大器)的库。在 4.7.2 版本之前,未经验证的 rigctld 服务在 TCP 4532 端口接收到的 命令会触发以下两个缺陷: 1. 在 中的 函数中,会在 处写入一个 NUL(空字符),而该位置位于 200 字节栈缓冲区之外,导致越界写操作。 2. 在 中的 函数中,复制了 字节,而非实际接收到的字节数(nbytes),导致可能复制过多数据。 在默认无密码配置下,远程客户端只需发送一个带有短载荷和 CR 结束符的命令,即可同时触发上述两个缺陷。越

CVSS 7.3 · High EPSS 0.25% · P17

Affected Version Matrix 1

VendorProduct Version RangeStatus
Hamlib Hamlib < 4.7.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54634

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Hamlib: rigctld `send_raw` Stack Out-of-Bounds Write and Uninitialized Memory Disclosure
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Hamlib Hamlib < 4.7.2 -

II. Public POCs for CVE-2026-54634

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54634

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54634 (3)

Other References for CVE-2026-54634 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54634

No comments yet


Leave a comment