CVE-2021-33481
Linux Debian vulnerability analysis and mitigation

Overview

A stack-based buffer overflow vulnerability was discovered in GOCR (Optical Character Recognition program) through version 0.53-20200802, specifically in the try_to_divide_boxes() function within pgm2asc.c. The vulnerability was initially reported on August 3, 2020, and was assigned CVE-2021-33481 on May 20, 2021 (CVE Mitre, NVD).

Technical details

The vulnerability is a stack-based buffer overflow that occurs in the try_to_divide_boxes() function at line 2648:39 in pgm2asc.c. The issue was identified using AddressSanitizer, which detected a stack-buffer-overflow during memory access operations. The problematic read operation of size 4 was detected at a specific memory address, affecting the 'ci' variable in the stack frame (SourceForge Bug).

Impact

The vulnerability could potentially lead to arbitrary code execution in affected systems running GOCR. The severity of this issue has been marked as high in some security advisories (Gentoo Security).

Mitigation and workarounds

Gentoo has discontinued support for GOCR and recommends users unmerge the package using the command 'emerge --ask --depclean "app-text/gocr"'. For other distributions, users are advised to update to patched versions where available or remove the software if it's not essential (Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22776HIGH8.7
  • Linux DebianLinux Debian
  • cpp-httplib
NoNoJan 12, 2026
CVE-2026-22801MEDIUM6.8
  • OpenJDK JDKOpenJDK JDK
  • java-1.8.0-openjdk-accessibility-fastdebug
NoYesJan 12, 2026
CVE-2026-22695MEDIUM6.1
  • OpenJDK JDKOpenJDK JDK
  • java-1.8.0-openjdk-javadoc-zip
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-0665N/AN/A
  • Linux DebianLinux Debian
  • qemu
NoNoJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management