CVE-2026-54634
Vulnérabilité élevée dans Hamlib (Hamlib)
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.
Gravité et risque d'exploitation
CVE-2026-54634 obtient un score CVSS de 7.3/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.44 %, ce qui la place devant 37.0 % des CVE référencées.
Que faire ?
- Vérifiez si Hamlib (versions < 4.7.2) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://github.com/Hamlib/Hamlib/security/advisories/GHSA-gpcq-c37x-pr46
- https://github.com/Hamlib/Hamlib/commit/3e3f78fc7732a4ce0da97b7a86d6d9fd9bd117c4
- https://github.com/Hamlib/Hamlib/commit/47171005bf041f520bb134edf796b9f6fc27e6bf
- https://github.com/Hamlib/Hamlib/commit/587f7bb2c6442e36ed5b6021f6ee9951daf1576b
- https://github.com/Hamlib/Hamlib/commit/a3a7f00d759edadbe195d112dc89006ae8db146e
- https://github.com/Hamlib/Hamlib/releases/tag/4.7.2
