{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-88049 exists.","fix":"No fix published yet.","what":"CVE-2026-88049 is a high-severity memory corruption vulnerability in tesseract-ocr tesseract, published on 10 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-88049 and fix it if it is affected.\n\nWhat it is: CVE-2026-88049 is a high-severity memory corruption vulnerability in tesseract-ocr tesseract, published on 10 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-88049 exists.\n\nAffected product: tesseract-ocr tesseract. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-88049/ (Markdown: https://insights.sbomify.com/CVE-2026-88049/index.md)","id":"CVE-2026-88049","markdown":"https://insights.sbomify.com/CVE-2026-88049/index.md","name":"CVE-2026-88049","record":{"aliases":["DEBIAN-CVE-2026-88049","ECHO-7334-3526-1631","GHSA-jgq8-pprg-vc68","UBUNTU-CVE-2026-88049"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OCR engine library","requires_auth":"none","summary":"A heap out-of-bounds write in Tesseract's LSTM engine allows attackers to cause crashes or potentially execute code via crafted traineddata files.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tesseract_ocr","vendor":"tesseract-ocr"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Tesseract is an open source OCR engine. In version 5.5.3 and earlier, prior .traineddata hardening added bounds checks to NetworkIO::CopyTimeStepGeneral and NetworkIO::Randomize in src/lstm/networkio.cpp but left NetworkIO::WriteTimeStepPart and NetworkIO::AddTimeStepPart unchecked. In LSTM::Forward in src/lstm/lstm.cpp, source_ is sized from the independently deserialized na_ field while the WriteTimeStepPart count is ns_, which comes from the CI gate WeightMatrix dim1() value. A crafted NT_LSTM layer can make ns_ much larger than na_, causing a heap out-of-bounds write during the first recognition step on the default LSTM engine and resulting in heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Tesseract: Heap out-of-bounds write in LSTM::Forward via na_/gate-matrix dimension mismatch","id":"CVE-2026-88049","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Tesseract: Out-of-bounds write in UnicharCompress via unvalidated recoder code values","id":"CVE-2026-88050"},"packages":[],"prev":{"headline":"Tesseract: Heap out-of-bounds write/read in FullyConnected::Forward via layer/weight-matrix dimension mismatch","id":"CVE-2026-88048"},"products":["tesseract"],"published":"2026-09-10","related":[{"cvss_score":8.6,"headline":"Tesseract: ReadNormProtos stack buffer overflow","id":"CVE-2026-88047","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":8.6,"headline":"Tesseract: Heap out-of-bounds write/read in FullyConnected::Forward via layer/weight-matrix dimension mismatch","id":"CVE-2026-88048","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":8.6,"headline":"Tesseract: Heap out-of-bounds write in GenericVector\u003cT\u003e::read due to independent reserved/size_used_ fields","id":"CVE-2026-88051","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":8.6,"headline":"Tesseract: Heap out-of-bounds write in Classify::ReadIntTemplates via unvalidated counts in crafted .traineddata","id":"CVE-2026-88053","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":7.8,"headline":"Tesseract: Heap out-of-bounds write in UNICHARSET::load_via_fgets via count/insert desynchronization","id":"CVE-2026-88052","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":7.8,"headline":"Use after free in n/a","id":"CVE-2021-36081","kev_date_added":null,"published":"2021-07-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-10","vendors":["tesseract-ocr"]},"summary":"A heap out-of-bounds write in Tesseract's LSTM engine allows attackers to cause crashes or potentially execute code via crafted traineddata files.","url":"https://insights.sbomify.com/CVE-2026-88049/"}