# CVE-2021-37847: crypto/digest.c in Pengutronix barebox through 2021.07.0 leaks timing information because memcmp is used during digest verification.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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.54%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-02T19:45:46.000Z
- Modified: 2026-06-17T04:01:11.867Z
- Assigned by: mitre

## Description

crypto/digest.c in Pengutronix barebox through 2021.07.0 leaks timing information because memcmp is used during digest verification.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pengutronix barebox: up to 2021.07.0

## Every score

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

## References

- <https://gist.github.com/gquere/816dfadbad98745090034100a8a651eb> (exploit, third-party-advisory)
- <https://github.com/saschahauer/barebox/commit/0a9f9a7410681e55362f8311537ebc7be9ad0fbe> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-37847 · Whole record: https://cve.day/CVE-2021-37847.json · Rebuilt by cve.day 2026-11-25T22:58:02.935Z
