Refine your search

1 vulnerability found for Hamlib by Hamlib

CVE-2026-54634 (GCVE-0-2026-54634)
Vulnerability from cvelistv5
Published
2026-09-17 21:52
Modified
2026-09-18 14:43
CWE
  • CWE-787 - Out-of-bounds Write
  • CWE-908 - Use of Uninitialized Resource
Summary
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.
Impacted products
Vendor Product Version
Hamlib Hamlib Version: < 4.7.2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-54634",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-18T14:40:03.689703Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-18T14:43:00.233Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "Hamlib",
          "vendor": "Hamlib",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 4.7.2"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-787",
              "description": "CWE-787: Out-of-bounds Write",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-908",
              "description": "CWE-908: Use of Uninitialized Resource",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-17T21:52:51.132Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/Hamlib/Hamlib/security/advisories/GHSA-gpcq-c37x-pr46",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/Hamlib/Hamlib/security/advisories/GHSA-gpcq-c37x-pr46"
        },
        {
          "name": "https://github.com/Hamlib/Hamlib/commit/3e3f78fc7732a4ce0da97b7a86d6d9fd9bd117c4",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Hamlib/Hamlib/commit/3e3f78fc7732a4ce0da97b7a86d6d9fd9bd117c4"
        },
        {
          "name": "https://github.com/Hamlib/Hamlib/commit/47171005bf041f520bb134edf796b9f6fc27e6bf",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Hamlib/Hamlib/commit/47171005bf041f520bb134edf796b9f6fc27e6bf"
        },
        {
          "name": "https://github.com/Hamlib/Hamlib/commit/587f7bb2c6442e36ed5b6021f6ee9951daf1576b",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Hamlib/Hamlib/commit/587f7bb2c6442e36ed5b6021f6ee9951daf1576b"
        },
        {
          "name": "https://github.com/Hamlib/Hamlib/commit/a3a7f00d759edadbe195d112dc89006ae8db146e",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Hamlib/Hamlib/commit/a3a7f00d759edadbe195d112dc89006ae8db146e"
        },
        {
          "name": "https://github.com/Hamlib/Hamlib/releases/tag/4.7.2",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Hamlib/Hamlib/releases/tag/4.7.2"
        }
      ],
      "source": {
        "advisory": "GHSA-gpcq-c37x-pr46",
        "discovery": "UNKNOWN"
      },
      "title": "Hamlib: rigctld `send_raw` Stack Out-of-Bounds Write and Uninitialized Memory Disclosure"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-54634",
    "datePublished": "2026-09-17T21:52:51.132Z",
    "dateReserved": "2026-06-15T20:07:02.185Z",
    "dateUpdated": "2026-09-18T14:43:00.233Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}