DHI-5khm-ywmr-2tqh-npmy

Source
https://scout.docker.com/v/DHI-5khm-ywmr-2tqh-npmy
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5khm-ywmr-2tqh-npmy.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-5khm-ywmr-2tqh-npmy
Upstream
Published
2026-11-11T19:05:15Z
Modified
2026-11-20T21:45:02Z
Severity
  • 3.8 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N CVSS Calculator
  • 2.9 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
jq is a command-line JSON processor. Commits before 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b contain a vulnerability…
Details

jq is a command-line JSON processor. Commits before 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b contain a vulnerability where CLI input parsing allows validation bypass via embedded NUL bytes. When reading JSON from files or stdin, jq uses strlen() to determine buffer length instead of the actual byte count from fgets(), causing it to truncate input at the first NUL byte and parse only the preceding prefix. This enables an attacker to craft input with a benign JSON prefix before a NUL byte followed by malicious trailing data, where jq validates only the prefix as valid JSON while silently discarding the suffix. Workflows relying on jq to validate untrusted JSON before forwarding it to downstream consumers are susceptible to parser differential attacks, as those consumers may process the full input including the malicious trailing bytes. This issue has been patched by commit 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b.

References

Affected packages

Docker Hardened Images:Alpine:3.23 / jq

Package

Name
jq
Purl
pkg:apk/dhi/jq

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.8.2_git20260622-r1

Affected versions

1.*
1.8.1-r0
1.8.1_git20260429-r1
1.8.2-r1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5khm-ywmr-2tqh-npmy.json"

Docker Hardened Images:Alpine:3.24 / jq

Package

Name
jq
Purl
pkg:apk/dhi/jq

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.8.2_git20260622-r1

Affected versions

1.*
1.8.1_git20260609-r1
1.8.2-r1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5khm-ywmr-2tqh-npmy.json"

Docker Hardened Images:Debian:13 / jq

Package

Name
jq
Purl
pkg:deb/dhi/jq

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.7.1-6+deb13u2+dhi0
Introduced
1.8.1-5
Fixed
1.8.2-1+deb13u0+dhi1

Affected versions

1.*
1.7.1-6+deb13u1dhi0
1.7.1-6+deb13u2dhi0
1.8.1-5

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5khm-ywmr-2tqh-npmy.json"