Description
OpenCV 4.1.1 has an out-of-bounds read in hal_baseline::v_load in core/hal/intrin_sse.hpp when called from computeSSDMeanNorm in modules/video/src/dis_flow.cpp.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | opencv | 4.5.4+dfsg-9ubuntu4+esm1 | USN-7247-1 |
| Ubuntu Pro 18.04 LTS | opencv | 3.2.0+dfsg-4ubuntu0.1+esm4 | USN-7247-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | opencv-contrib-python | < 4.1.2.30 | 4.1.2.30 | GHSA-x3rm-644h-67m8 |
| PyPI | opencv-contrib-python-headless | < 4.1.2.30 | 4.1.2.30 | GHSA-x3rm-644h-67m8 |
| PyPI | opencv-python | < 4.1.2.30 | 4.1.2.30 | GHSA-x3rm-644h-67m8 |
| PyPI | opencv-python-headless | < 4.1.2.30 | 4.1.2.30 | GHSA-x3rm-644h-67m8 |
Advisories 1
- USN-7247-1 opencv vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026