{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-88048 exists.","fix":"No fix published yet.","what":"CVE-2026-88048 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-88048 and fix it if it is affected.\n\nWhat it is: CVE-2026-88048 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-88048 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-88048/ (Markdown: https://insights.sbomify.com/CVE-2026-88048/index.md)","id":"CVE-2026-88048","markdown":"https://insights.sbomify.com/CVE-2026-88048/index.md","name":"CVE-2026-88048","record":{"aliases":["DEBIAN-CVE-2026-88048","ECHO-18ac-cecc-73b2","GHSA-q44c-23p6-5mw6","UBUNTU-CVE-2026-88048"],"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 crafted traineddata file can trigger heap out-of-bounds write and read in Tesseract's LSTM engine, potentially leading to code execution or crashes.","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"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"Tesseract is an open source OCR engine. In version 5.5.3 and earlier, FullyConnected::DeSerialize in src/lstm/fullyconnected.cpp does not validate the deserialized layer scalars ni_ and no_ against the weight-matrix dimensions. During FullyConnected::Forward, MatrixDotVector in src/lstm/weightmatrix.cpp writes w.dim1() results into temp_line, which is sized from no_, and reads w.dim2() minus one inputs from curr_input, which is sized from ni_. A crafted .traineddata NT_SOFTMAX layer can therefore use inconsistent dimensions to cause a heap out-of-bounds write and read on the default LSTM engine, resulting in heap corruption, a crash, information disclosure, 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/read in FullyConnected::Forward via layer/weight-matrix dimension mismatch","id":"CVE-2026-88048","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: Heap out-of-bounds write in LSTM::Forward via na_/gate-matrix dimension mismatch","id":"CVE-2026-88049"},"packages":[],"prev":{"headline":"Tesseract: ReadNormProtos stack buffer overflow","id":"CVE-2026-88047"},"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 in LSTM::Forward via na_/gate-matrix dimension mismatch","id":"CVE-2026-88049","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-11","vendors":["tesseract-ocr"]},"summary":"A crafted traineddata file can trigger heap out-of-bounds write and read in Tesseract's LSTM engine, potentially leading to code execution or crashes.","url":"https://insights.sbomify.com/CVE-2026-88048/"}