# CVE-2016-1000005: mcryptgetblocksize did not enforce that the provided "module" parameter was a string, leading to type confusion if other types of data were…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.39%, higher than 73% of CVEs (2026-12-01)
- Published: 2020-02-19T12:38:53.000Z
- Modified: 2026-06-17T00:38:39.403Z
- Weaknesses: CWE-843
- Assigned by: mitre

## Description

mcrypt_get_block_size did not enforce that the provided "module" parameter was a string, leading to type confusion if other types of data were passed in. This issue affects HHVM versions prior to 3.9.5, all versions between 3.10.0 and 3.12.3 (inclusive), and all versions between 3.13.0 and 3.14.1 (inclusive).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- facebook hhvm: before 3.9.5; from 3.10.0 up to 3.12.3; from 3.13.0 up to 3.14.1

## Every score

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

## References

- <https://github.com/facebook/hhvm/commit/39e7e177473350b3a5c34e8824af3b98e25efa89> (patch, third-party-advisory)
- <https://www.facebook.com/security/advisories/cve-2016-1000005> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2016-1000005 · Whole record: https://cve.day/CVE-2016-1000005.json · Rebuilt by cve.day 2026-11-25T22:57:29.341Z
