SecurityContext

CVE-2021-33480: gocr - Use After Free

  • Cve: CVE-2021-33480
  • Name: gocr - Use After Free
  • Description: An use-after-free vulnerability was discovered in gocr through 0.53-20200802 in context_correction() in pgm2asc.c.
  • Impact: Attackers can execute arbitrary code or cause denial of service by exploiting this use-after-free vulnerability.
  • Remediation: Update to the latest version of gocr that addresses this vulnerability or apply patches if available.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.01076
  • Epss percentile: 0.65844
  • Assignee: [email protected]
  • Published at: 2021-11-17T18:15:07Z
  • Age in days: 1833
  • Modified at: 2026-06-17T03:54:39Z
  • Public exploits total: 2
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-33480
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

Public exploits

UrlSourceAdded date
https://sourceforge.net/p/jocr/bugs/40/nvd2021-11-17
https://sourceforge.net/p/jocr/bugs/41/nvd2021-11-17

References

Same in every row:

  • Source: nvd
UrlTags
https://sourceforge.net/p/jocr/bugs/40/Exploit, Third Party Advisory
https://sourceforge.net/p/jocr/bugs/41/Exploit, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1962854Issue Tracking, Third Party Advisory
https://security.gentoo.org/glsa/202401-28

Products

ProductAffectedPlatform boundSourcesUrl
optical_character_recognition_project:optical_character_recognition<= 0.53-20200802nonvd/v1/products/optical_character_recognition_project/optical_character_recognition

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-11-17
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts