Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Tesseract: ReadNormProtos stack buffer overflow
Vulnerability Description
Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Classify::ReadNormProtos in src/classify/normmatch.cpp parses the NORMPROTO component of a .traineddata file and uses std::istream::operator>>(char*) to extract a whitespace-delimited token into a fixed 61-byte stack buffer without setting a stream width. The 100-byte line buffer can carry a token of up to 99 characters, so a token longer than 60 characters writes up to 39 attacker-controlled bytes past the buffer during TessBaseAPI::Init of the legacy engine, causing stack corruption, denial of service, and potentially control-flow hijacking on affected standard-library implementations. Builds using Apple's libc++ C++20 bounded array overload are incidentally protected, while typical libstdc++ builds remain affected. No fixed release is available as of this review.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
栈缓冲区溢出
Vulnerability Title
tesseract-ocr Tesseract 缓冲区错误漏洞
Vulnerability Description
tesseract-ocr Tesseract是tesseract-ocr组织的一款可将图像文字转换为可编辑文本的光学字符识别组件。 tesseract-ocr Tesseract 5.5.3及之前版本存在缓冲区错误漏洞,该漏洞源于Classify::ReadNormProtos在解析src/classify/normmatch.cpp中.traineddata文件的NORMPROTO组件时,使用std::istream::operator>>(char*)提取令牌未设置流宽度,在TessBaseAPI:
CVSS Information
N/A
Vulnerability Type
N/A