# CVE-2021-21405: BLS Signature "Malleability"

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/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): 0.98%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-15T21:35:13.000Z
- Modified: 2026-07-08T06:29:38.581Z
- Also known as: GHSA-4g52-pqcj-phvh, GO-2022-0905
- Weaknesses: CWE-347
- Assigned by: GitHub_M

## Description

Lotus is an Implementation of the Filecoin protocol written in Go. BLS signature validation in lotus uses blst library method VerifyCompressed. This method accepts signatures in 2 forms: "serialized", and "compressed", meaning that BLS signatures can be provided as either of 2 unique byte arrays. Lotus block validation functions perform a uniqueness check on provided blocks. Two blocks are considered distinct if the CIDs of their blockheader do not match. The CID method for blockheader includes the BlockSig of the block. The result of these issues is that it would be possible to punish miners for valid blocks, as there are two different valid block CIDs available for each block, even though this must be unique. By switching from the go based `blst` bindings over to the bindings in `filecoin-ffi`, the code paths now ensure that all signatures are compressed by size and the way they are deserialized. This happened in https://github.com/filecoin-project/lotus/pull/5393.

(As written by CVE List.)

## Affected

- filecoin-project lotus: < 1.5.0
- github.com/filecoin-project/lotus (Go): before 1.5.0
- filecoin lotus: before 1.5.0

## Every score

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

## References

- <https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754> (exploit, third-party-advisory, web)
- <https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh> (advisory, patch, third-party-advisory, web)
- <https://github.com/filecoin-project/lotus/pull/5393> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21405> (advisory)

## Sources

- CVE List: [CVE-2021-21405](https://www.cve.org/CVERecord?id=CVE-2021-21405), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-4g52-pqcj-phvh](https://github.com/advisories/GHSA-4g52-pqcj-phvh), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2022-0905](https://pkg.go.dev/vuln/GO-2022-0905), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-21405](https://nvd.nist.gov/vuln/detail/CVE-2021-21405), Public domain, modified 2026-06-17

---

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