{"id":"CVE-2022-1987","summary":"Buffer Over-read in bfabiszewski/libmobi","details":"Buffer Over-read in GitHub repository bfabiszewski/libmobi prior to 0.11.","modified":"2026-08-12T12:59:13.755140Z","published":"2022-06-03T07:50:10Z","database_specific":{"cna_assigner":"@huntrdev","cwe_ids":["CWE-126"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1987.json"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/e8197737-7557-443e-a59f-2a86e8dda75f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1987.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1987"},{"type":"FIX","url":"https://github.com/bfabiszewski/libmobi/commit/612562bc1ea38f1708b044e7a079c47a05b1291d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bfabiszewski/libmobi","events":[{"introduced":"0"},{"fixed":"864e3a86f2565b650f203ec6b1fddc4fb16df925"},{"fixed":"612562bc1ea38f1708b044e7a079c47a05b1291d"}],"database_specific":{"cpe":"cpe:2.3:a:libmobi_project:libmobi:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.11"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v0.10","v0.9","v0.8","v0.7","v0.6","v0.5","v0.4","v0.3","v0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1987.json","vanir_signatures_modified":"2026-08-12T12:59:13Z","vanir_signatures":[{"id":"CVE-2022-1987-3fd87d24","signature_type":"Function","signature_version":"v1","source":"https://github.com/bfabiszewski/libmobi/commit/612562bc1ea38f1708b044e7a079c47a05b1291d","target":{"file":"src/index.c","function":"mobi_parse_index_entry"},"deprecated":false,"digest":{"function_hash":"86127691499394198476018076040372080400","length":4222}},{"id":"CVE-2022-1987-a3b635b1","signature_type":"Line","signature_version":"v1","source":"https://github.com/bfabiszewski/libmobi/commit/612562bc1ea38f1708b044e7a079c47a05b1291d","target":{"file":"src/index.c"},"deprecated":false,"digest":{"line_hashes":["207609869698134454837694052947323585573","100298424594912614632450937443545158645","122774262356112556931233850302512651551","7603136041654136885713089054683845325","150790025095483468103963391209638752096","38037103767953201076528589395645437762","15189218979259289579130303129262152958","81911627961673764522135380695518587678","314607650615928530137064675391904675680","287548980327967425176580315520515956617","126118952393656640726023503463182131817","101014582621163307629248533416530153238","327773601434588625699560863884352073967","197684099711444104147154507701776562089"],"threshold":0.9}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N"}]}