CVE-2026-39979 jq: Out-of-Bounds Read in jv_parse_sized() Error Formatting for Non-NUL-Terminated Counted Buffers
설명
jq is a command-line JSON processor. In commits before 2f09060afab23fe9390cce7cb860b10416e1bf5f, the jv_parse_sized() API in libjq accepts a counted buffer with an explicit length parameter, but its error-handling path formats the input buffer using %s in jv_string_fmt(), which reads until a NUL terminator is found rather than respecting the caller-supplied length. This means that when malformed JSON is passed in a non-NUL-terminated buffer, the error construction logic performs an out-of-bounds read past the end of the buffer. The vulnerability is reachable by any libjq consumer calling jv_parse_sized() with untrusted input, and depending on memory layout, can result in memory disclosure or process termination. The issue has been patched in commit 2f09060afab23fe9390cce7cb860b10416e1bf5f.
영향 받는 제품 제품 5개
-
jqlang
jq
영향 받는 버전
- 버전 정보 확인 필요
해결 버전
해결된 버전 정보가 없습니다.
-
NVD 기준 해결 버전 있음
jqlang
jq
영향 받는 버전
- 1.8.2 미만
해결 버전
- 1.8.2 이상
-
NVD 기준 해결 버전 있음
redhat
ai inference server
영향 받는 버전
- 3.2.0 이상 3.2.2 미만
- 3.3.0 이상 3.3.5 미만
해결 버전
- 3.2.2 이상
- 3.3.5 이상
-
NVD 기준 해결 버전 있음
redhat
openshift ai
영향 받는 버전
- 3.4 이상 3.4.3 미만
해결 버전
- 3.4.3 이상
-
NVD 기준 해결 버전 있음
redhat
openshift container platform
영향 받는 버전
- 4.12 이상 4.12.92 미만
- 4.13 이상 4.13.68 미만
- 4.14 이상 4.14.68 미만
- 4.15 이상 4.15.65 미만
- 4.16 이상 4.16.64 미만
- 4.17 이상 4.17.55 미만
- 4.18 이상 4.18.44 미만
- 4.19 이상 4.19.33 미만
해결 버전
- 4.12.92 이상
- 4.13.68 이상
- 4.14.68 이상
- 4.15.65 이상
- 4.16.64 이상
- 4.17.55 이상
- 4.18.44 이상
- 4.19.33 이상