CVEfocus › CVE database › CVE-2026-54634

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

CVSS 7.3 HighEPSS 0.4% (higher than 30% of CVEs)Published 2026-09-17Updated 2026-09-18Assigner: GitHub_M

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.

CWE-787CWE-908

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04hamlibUnder investigationUBUNTU-CVE-2026-54634
Ubuntu 24.04hamlibUnder investigationUBUNTU-CVE-2026-54634
Ubuntu 22.04hamlibUnder investigationUBUNTU-CVE-2026-54634
Ubuntu 20.04hamlibFix pendingUBUNTU-CVE-2026-54634
Ubuntu 18.04hamlibFix pendingUBUNTU-CVE-2026-54634
Ubuntu 16.04hamlibFix pendingUBUNTU-CVE-2026-54634
Debian 14hamlibFixed4.7.2-1DEBIAN-CVE-2026-54634
Debian 13hamlibFix pendingDEBIAN-CVE-2026-54634
Debian 12hamlibFix pendingDEBIAN-CVE-2026-54634

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.