DescriptionAn issue was discovered in OpenCV before 4.1.1. There is a NULL pointer dereference in the function cv::XMLParser::parse at modules/core/src/persistence.cpp.
SourceCVE (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 severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opencv (PTS)jessie2.4.9.1+dfsg-1+deb8u1vulnerable
jessie (security)
bullseye, sid, buster3.2.0+dfsg-6vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[jessie] - opencv <postponed> (Minor issue, DoS, PoC not crashing)
In older versions of opencv missing NULL pointer check(s) are in
modules/core/src/persistence.cpp (before refactoring).
check if the old code though is really affected, might been introduced with the refactoring

Search for package or bug name: Reporting problems