PYSEC-2026-2831

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/opencv-python/PYSEC-2026-2831.yaml
JSON Data
https://api.test.osv.dev/v1/vulns/PYSEC-2026-2831
Aliases
Published
2026-07-09T16:49:34.428078Z
Modified
2026-07-13T16:56:21.609187687Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
Details

OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python 3.3.0.9) has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy test case.

References

Affected packages

PyPI / opencv-python

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.1.11

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/opencv-python/PYSEC-2026-2831.yaml"