Read the docs
TI-2021-12885 Aliases CVE-2021-33481GHSA-wgmm-j5vp-vhxr

Memory corruption in gocr

Priority LOW 37CWE-119Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.

Summary

A stack-based buffer overflow vulnerability was discovered in gocr through 0.53-20200802 in try_to_divide_boxes() in pgm2asc.c.

Why it matters now

EPSS 0.01222 68th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—gocrgocr 0.53-20200802—No fix listedCNA
  • gocr Vendor— Affected gocr 0.53-20200802 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:optical_character_recognition_project:optical_character_recognition:*:*:*:*:*:*:*:*up to 0.53-20200802VulnerableOptical Character Recognition Project

Remediation

No fixed version listed by the sources yet.

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    gocr — GLSA-202401-28

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2021-12883 Memory corruption in gocrPriority LOW 39
    • TI-2021-12884 An use-after-free vulnerability was discovered in gocr through 0.53-20200802 in context_correction() in pgm2asc.c.Priority LOW 27

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-33481
  2. 2026-10-03 Alias added: GHSA-wgmm-j5vp-vhxr

References

  • TI-2005-01079 Integer overflow in the readpgm function in pnm.c for GOCR 0.40, when using the netpbm… CVSS 3.1CRITICAL 9.8
  • TI-2021-12883 Memory corruption in gocr CVSS 3.1HIGH 7.8
  • TI-2021-12884 An use-after-free vulnerability was discovered in gocr through 0.53-20200802 in context_correction() in pgm2asc.c. CVSS 3.1MEDIUM 5.5

Sources