ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| SixLabors | ImageSharp | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Sixlabors | Imagesharp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jjfr-hcj7-qf5w | ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.385% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sixlabors
Sixlabors imagesharp |
|
| Vendors & Products |
Sixlabors
Sixlabors imagesharp |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | ImageSharp is a 2D graphics library. From 2.1.0 until 4.1.2, the TIFF CCITT Group 4 encoder allocates Width times rowsPerStrip bytes even though T6BitCompressor.CompressStrip can emit encoded row data and two 12-bit end-of-facsimile-block codes beyond that capacity. TiffCcittCompressor.WriteCode performs unchecked writes, and a decode-and-re-encode flow can inherit TiffCompression.CcittGroup4Fax and one-bit metadata from attacker-supplied input. The resulting out-of-bounds writes can corrupt memory and terminate the process. This issue is fixed in version 4.1.2. | |
| Title | ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer | |
| Weaknesses | CWE-787 | |
| References |
| |
| Metrics |
cvssV3_1
|