DHI-4vxe-ezfm-447k-l4qh

Source
https://scout.docker.com/v/DHI-4vxe-ezfm-447k-l4qh
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-4vxe-ezfm-447k-l4qh.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-4vxe-ezfm-447k-l4qh
Upstream
Published
2026-12-01T21:53:49Z
Modified
2026-12-01T22:00:13Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
Summary
### Summary
Details

Summary

Parsing invalid JSON with the allow_control_characters: true option enabled can result in an out of bound write, potentially corrupting the heap, but more likely a VM crash.

Details

If an ASCI control character is preceded by a backslash, the bound checks can be defeated.

Originally fixed as a regular bug in json 1.9.3.

Proof of concept

The issue can easily be reproduced with a backslash followed by a control character. Some padding is required.

require "json"
doc = '"' + ("A" * 4096) + "\\\x01" + '"'
JSON.parse(doc, allow_control_characters: true)

Impact

If the allow_control_characters: true option is used to parse untrusted input, it could be used as a DOS vector.

References

Affected packages

Docker Hardened Images:Alpine:3.23 / ruby-4.0

Package

Name
ruby-4.0
Purl
pkg:apk/dhi/ruby-4.0

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.1-r0

Affected versions

4.*
4.0.1-r0
4.0.1-r1
4.0.2-r1
4.0.2-r2
4.0.3-r2
4.0.4-r2
4.0.4-r3
4.0.5-r3
4.0.6-r3
4.0.6-r4
4.0.7-r4
4.0.9-r4
4.0.10-r4
4.0.10-r5

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-4vxe-ezfm-447k-l4qh.json"

Docker Hardened Images:Alpine:3.24 / ruby-4.0

Package

Name
ruby-4.0
Purl
pkg:apk/dhi/ruby-4.0

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.0.4-r5

Affected versions

0.*
0.0.4-r5
0.1.1-r5
0.1.2-r5
0.1.4-r5
0.1.12-r5
0.2.0-r5
0.2.1-r5
0.3.0-r5
0.3.2-r5
0.3.9-r5
0.4.3-r5
0.5.0-r5
0.5.1-r5
0.6.3-r5
0.6.4.1-r5
0.31.1-r5
1.*
1.1.8-r5
1.7.0-r5
1.8.1-r5
1.11.1-r5
1.16.0-r5
2.*
2.2.3-r5
2.6.9-r5
3.*
3.3.5-r5
3.4.4-r5
3.7.5-r5
3.10.0-r5
4.*
4.0.1-r5
4.0.5-r3
4.0.6-r3
4.0.6-r4
4.0.7-r4
4.0.9-r4
4.0.10-r4
4.0.10-r5
7.*
7.0.4-r5
13.*
13.3.1-r5

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-4vxe-ezfm-447k-l4qh.json"

Docker Hardened Images:Debian:13 / ruby-4.0

Package

Name
ruby-4.0
Purl
pkg:deb/dhi/ruby-4.0

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.5-0

Affected versions

4.*
4.0.5-0
4.0.5-1
4.0.5-2
4.0.5-3
4.0.5-4
4.0.5-5
4.0.5-6
4.0.6-0
4.0.6-1
4.0.6-2
4.0.6-3
4.0.6-4
4.0.6-5
4.0.6-6
4.0.6-7
4.0.6-8
4.0.6-9
4.0.6-10
4.0.6-11
4.0.6-12
4.0.6-13
4.0.6-14
4.0.6-15
4.0.6-16
4.0.6-17
4.0.6-18
4.0.6-19
4.0.6-20
4.0.6-21
4.0.6-22
4.0.6-23
4.0.6-24
4.0.6-25
4.0.6-26
4.0.6-27
4.0.6-28
4.0.6-29
4.0.6-30
4.0.6-31
4.0.6-32
4.0.6-33
4.0.6-34
4.0.6-35
4.0.6-36
4.0.6-37
4.0.6-38
4.0.6-39
4.0.6-40
4.0.6-41
4.0.6-42
4.0.6-43
4.0.6-44
4.0.6-45
4.0.6-46
4.0.6-47
4.0.6-48
4.0.6-49
4.0.6-50
4.0.7-0
4.0.7-1
4.0.7-2
4.0.7-3
4.0.7-4
4.0.7-5
4.0.7-6
4.0.7-7
4.0.7-8
4.0.7-9
4.0.7-10
4.0.7-11
4.0.7-12
4.0.7-13
4.0.7-14
4.0.7-15
4.0.7-16
4.0.7-17
4.0.7-18
4.0.7-19
4.0.9-0
4.0.9-1
4.0.10-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-4vxe-ezfm-447k-l4qh.json"