# CVE-2023-30542: GovernorCompatibilityBravo may trim proposal calldata

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/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.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2023-04-16T07:10:13.474Z
- Modified: 2026-06-17T05:54:59.057Z
- Also known as: GHSA-93hq-5wgc-jc82
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenZeppelin Contracts is a library for secure smart contract development. The proposal creation entrypoint (`propose`) in `GovernorCompatibilityBravo` allows the creation of proposals with a `signatures` array shorter than the `calldatas` array. This causes the additional elements of the latter to be ignored, and if the proposal succeeds the corresponding actions would eventually execute without any calldata. The `ProposalCreated` event correctly represents what will eventually execute, but the proposal parameters as queried through `getActions` appear to respect the original intended calldata. This issue has been patched in 4.8.3. As a workaround, ensure that all proposals that pass through governance have equal length `signatures` and `calldatas` parameters.

(As written by CVE List.)

## Affected

- OpenZeppelin openzeppelin-contracts: >= 4.3.0, < 4.8.3
- @openzeppelin/contracts (npm): from 4.3.0 before 4.8.3
- @openzeppelin/contracts-upgradeable (npm): from 4.3.0 before 4.8.3
- openzeppelin contracts: from 4.3.0 before 4.8.3
- openzeppelin contracts_upgradeable: from 4.3.0 before 4.8.3

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-93hq-5wgc-jc82> (vendor-advisory, web)
- <https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.3> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-30542> (advisory)
- <https://github.com/OpenZeppelin/openzeppelin-contracts/commit/8d633cb7d169f2f8595b273660b00b69e845c2fe> (web)
- <https://github.com/OpenZeppelin/openzeppelin-contracts> (package)

## Sources

- CVE List: [CVE-2023-30542](https://www.cve.org/CVERecord?id=CVE-2023-30542), CVE Terms of Use, modified 2025-02-06
- GitHub Advisory Database: [GHSA-93hq-5wgc-jc82](https://github.com/advisories/GHSA-93hq-5wgc-jc82), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-30542](https://nvd.nist.gov/vuln/detail/CVE-2023-30542), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-30542 · Whole record: https://cve.day/CVE-2023-30542.json · Rebuilt by cve.day 2026-11-25T22:58:23.536Z
