opencv: Integer overflow in ReadNumber function in opencv/modules/imgcodecs/src/grfmt_pxm.cpp
Published Aug 15, 2017
8.8
HIGHCVSS 3.1
EPSS 2.72%
Description
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the input length, which 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.
Affected products
No data.
Configuration 2
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 6
opencv
Under investigation
Red Hat Enterprise Linux 7
opencv
Under investigation
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | opencv | Under investigation | n/a |
| Red Hat Enterprise Linux 7 | opencv | Under investigation | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.72% (0.02722) | 85.53th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.70% (0.02699) | 83.93th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.18% (0.01175) | 76.77th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.02% (0.03017) | 77.63th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.18% (0.01175) | 77.24th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.89% (0.00892) | 83.32th | v3 (v2023.03.01) |
| May 22, 2024 | 0.89% (0.00892) | 82.62th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.89% (0.00892) | 80.61th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.74% (0.00742) | 77.93th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.25% (0.03249) | 84.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.16% (0.03161) | 65.03th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.83% (0.02825) | 63.11th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.27% (0.02269) | 0.00th | v1 |
References (10)
- https://access.redhat.com/security/cve/CVE-2017-12864 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1483698 Issue Tracking
- https://github.com/advisories/GHSA-267x-w5hx-8hjr Advisory
- https://github.com/opencv/opencv/issues/9372 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://github.com/opencv/opencv/pull/9376
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-12864
- https://security.gentoo.org/glsa/201712-02 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-12864
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-12864 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1483698 | Issue Tracking | |
| https://github.com/advisories/GHSA-267x-w5hx-8hjr | Advisory | |
| https://github.com/opencv/opencv/issues/9372 | x_refsource_MISCIssue TrackingPatchThird Party Advisory | |
| https://github.com/opencv/opencv/pull/9376 | ||
| https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-12864 | ||
| https://security.gentoo.org/glsa/201712-02 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2017-12864 |
Change history (0)
No recorded changes yet.