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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 948180 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
opencv (PTS) | bullseye | 4.5.1+dfsg-5 | fixed |
| bookworm | 4.6.0+dfsg-12 | fixed |
| sid, trixie | 4.6.0+dfsg-14 | 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 |
Notes
[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