{"id":"UBUNTU-CVE-2021-33480","details":"An use-after-free vulnerability was discovered in gocr through 0.53-20200802 in context_correction() in pgm2asc.c.","modified":"2026-05-20T16:05:02.206933827Z","published":"2021-11-17T18:15:00Z","upstream":["CVE-2021-33480"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-33480"},{"type":"REPORT","url":"https://sourceforge.net/p/jocr/bugs/40/"},{"type":"REPORT","url":"https://sourceforge.net/p/jocr/bugs/41/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-33480"}],"affected":[{"package":{"name":"gocr","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gocr?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.49-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.49-2","binary_name":"gocr"},{"binary_name":"gocr-tk","binary_version":"0.49-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33480.json"}},{"package":{"name":"gocr","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/gocr?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.49-2","0.49-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"gocr","binary_version":"0.49-2build1"},{"binary_name":"gocr-tk","binary_version":"0.49-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33480.json"}},{"package":{"name":"gocr","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gocr?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.52-3"],"ecosystem_specific":{"binaries":[{"binary_name":"gocr","binary_version":"0.52-3"},{"binary_version":"0.52-3","binary_name":"gocr-tk"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33480.json"}},{"package":{"name":"gocr","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/gocr?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.52-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.52-3","binary_name":"gocr"},{"binary_version":"0.52-3","binary_name":"gocr-tk"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33480.json"}},{"package":{"name":"gocr","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/gocr?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.52-6","0.52-6.1","0.52-6.1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"gocr","binary_version":"0.52-6.1build1"},{"binary_version":"0.52-6.1build1","binary_name":"gocr-tk"},{"binary_version":"0.52-6.1build1","binary_name":"libpgm2asc0.52t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33480.json"}},{"package":{"name":"gocr","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/gocr?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.52-6.1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"gocr","binary_version":"0.52-6.1build1"},{"binary_name":"gocr-tk","binary_version":"0.52-6.1build1"},{"binary_name":"libpgm2asc0.52t64","binary_version":"0.52-6.1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33480.json"}},{"package":{"name":"gocr","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/gocr?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.52-6.1build1","0.52-6.1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"gocr","binary_version":"0.52-6.1build2"},{"binary_name":"gocr-tk","binary_version":"0.52-6.1build2"},{"binary_name":"libpgm2asc0.52t64","binary_version":"0.52-6.1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33480.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}