In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch. 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-2268 In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch. 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-wq8f-wvqp-xvvm Integer Overflow or Wraparound in OpenCV
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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

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

Link: CVE-2017-12863

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2017-12863

cve-icon Redhat

Severity : Low

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

Links: CVE-2017-12863 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses