# CVE-2020-24388: An issue was discovered in the sendsecuremsg() function of yubihsm-shell through 2.0.2.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.75%, higher than 78% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-10-19T19:41:33.000Z
- Modified: 2026-06-17T03:05:28.737Z
- Weaknesses: CWE-20, CWE-787
- Assigned by: mitre

## Description

An issue was discovered in the _send_secure_msg() function of yubihsm-shell through 2.0.2. The function does not validate the embedded length field of a message received from the device. This could lead to an oversized memcpy() call that will crash the running process. This could be used by an attacker to cause a denial of service.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- yubico yubihsm-shell: up to 2.0.2
- fedoraproject fedora: 33

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://blog.inhq.net/posts/yubico-libyubihsm-vuln/> (exploit, third-party-advisory)
- <https://github.com/Yubico/yubihsm-shell> (third-party-advisory)
- <https://developers.yubico.com/yubihsm-shell/> (vendor-advisory)
- <https://www.yubico.com/support/security-advisories/ysa-2020-06/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-24388](https://www.cve.org/CVERecord?id=CVE-2020-24388), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-24388](https://nvd.nist.gov/vuln/detail/CVE-2020-24388), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-24388 · Whole record: https://cve.day/CVE-2020-24388.json · Rebuilt by cve.day 2026-11-25T22:57:55.299Z
