Description
In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which can lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColorExploit, Third Party Advisory
- https://github.com/opencv/opencv/issues/9723Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/01/msg00008.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlMailing List, Third Party Advisory
- https://github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColorExploit, Third Party Advisory
- https://github.com/opencv/opencv/issues/9723Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/01/msg00008.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlMailing List, Third Party Advisory
Timeline
- Published
- Jan 2, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified