# CVE-2022-23001: Sweet-B Library: Point compress/decompress using the wrong bit for sign

- Severity: Medium 5.3 (CVSS:3.1, scored by WDC PSIRT) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2022-07-29T18:51:26.000Z
- Modified: 2026-06-17T04:29:19.690Z
- Weaknesses: CWE-682
- Assigned by: WDC PSIRT

## Description

When compressing or decompressing elliptic curve points using the Sweet B library, an incorrect choice of sign bit is used. An attacker with user level privileges and no other user's assistance can exploit this vulnerability with only knowledge of the public key and the library. The resulting output may cause an error when used in other operations; for instance, verification of a valid signature under a decompressed public key may fail. This may be leveraged by an attacker to cause an error scenario in applications which use the library, resulting in a limited denial of service for an individual user. The scope of impact cannot extend to other components.

(As written by CVE List.)

## Affected

- Western Digital Sweet B Library: from Sweet B Library before v2
- westerndigital sweet_b: 1

## Every score

- WDC PSIRT: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://www.westerndigital.com/support/product-security/wdc-22013-sweet-b-incorrect-output-vulnerabilities> (product, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2022-23001 · Whole record: https://cve.day/CVE-2022-23001.json · Rebuilt by cve.day 2026-11-25T22:58:13.304Z
