CVE-2018-5269
Publication date 8 January 2018
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because of an incorrect integer cast.
From the Ubuntu Security Team
It was discovered that OpenCV incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service, execute arbitrary code or other unspecified impact.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| opencv | 18.04 LTS bionic |
Fixed 3.2.0+dfsg-4ubuntu0.1
|
| 16.04 LTS xenial |
Fixed 2.4.9.1+dfsg-1.5ubuntu1.1
|
|
| 14.04 LTS trusty |
Fixed 2.4.8+dfsg1-2ubuntu1.1
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |