Name | CVE-2019-5063 |
Description | An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0. A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
NVD severity | medium |
Debian Bugs | 948180 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
opencv (PTS) | stretch | 2.4.9.1+dfsg1-2 | fixed |
buster | 3.2.0+dfsg-6 | fixed | |
bullseye, sid | 4.5.1+dfsg-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
opencv | source | experimental | 4.2.0+dfsg-1 | |||
opencv | source | jessie | (not affected) | |||
opencv | source | stretch | (not affected) | |||
opencv | source | buster | (not affected) | |||
opencv | source | (unstable) | 4.2.0+dfsg-3 | 948180 |
[buster] - opencv <not-affected> (Vulnerable code introduced later)
[stretch] - opencv <not-affected> (Vulnerable code introduced later)
[jessie] - opencv <not-affected> (The vulnerable code was introduced later)
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0852
Fixed by: https://github.com/opencv/opencv/commit/f42d5399aac80d371b17d689851406669c9b9111 (4.2.0)
https://github.com/opencv/opencv/issues/15857
Persistence implementation refactored in: https://github.com/opencv/opencv/pull/13011