In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1117-1 opencv security update
Debian DLA Debian DLA DLA-1438-1 opencv security update
Debian DLA Debian DLA DLA-2799-1 opencv security update
EUVD EUVD EUVD-2021-2163 In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.
Github GHSA Github GHSA GHSA-5rpc-gwh9-q9fg Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T18:51:07.027Z

Reserved: 2017-08-15T00:00:00

Link: CVE-2017-12862

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-08-15T16:29:00.263

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-12862

cve-icon Redhat

Severity : Low

Publid Date: 2017-08-15T00:00:00Z

Links: CVE-2017-12862 - Bugzilla

cve-icon OpenCVE Enrichment

No data.