{"id":"CVE-2026-59265","summary":"Apache OpenOffice, Apache OpenOffice: Opening a malicious document can lead to system takeover","details":"A code execution issue in the Java integration in Apache OpenOffice v4.1.16 and earlier allows a crafted untrusted document to trigger executing arbitrary (even remote) code when opened by the user.\n\n\n\nThis issue is expected to be fixed in version 4.1.17, which is in the release candidate phase.\n\n\n\nUntil then, users can mitigate this issue by disabling Java runtime integration in the Preferences dialog. This prevents the attack. If this is not possible, or as an extra precaution, you can avoid opening open untrusted files entirely. Once 4.1.17 is released, upgrade to that version to fix the issue.","modified":"2026-10-28T11:12:19.479451421Z","published":"2026-10-02T17:34:06.937Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59265.json","unresolved_ranges":[{"extracted_events":[{"range":[{"last_affected":"4.1.16"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}],"cna_assigner":"apache","cwe_ids":["CWE-426"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/10/02/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/10/08/7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59265.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread.html/svfdc1jtpqlw7mo6lgg9fthcmf754pl5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59265"},{"type":"FIX","url":"https://github.com/apache/openoffice/commit/95923fd437e06edd38a4f0e139a27c755a6f3ba6.patch"},{"type":"FIX","url":"https://github.com/apache/openoffice/commit/c699bed3f75e79bd64ddec9dec49f9e210eed281.patch"},{"type":"PACKAGE","url":"https://gitbox.apache.org/repos/asf/openoffice.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitbox.apache.org/repos/asf/openoffice.git","events":[{"introduced":"0"},{"fixed":"95923fd437e06edd38a4f0e139a27c755a6f3ba6"},{"fixed":"181421139242694b309751fb666406eddc203c50"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"95923fd437e06edd38a4f0e139a27c755a6f3ba6"}]},{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"181421139242694b309751fb666406eddc203c50"}],"source":"AFFECTED_FIELD"}]}},{"type":"GIT","repo":"https://github.com/apache/openoffice","events":[{"introduced":"0"},{"fixed":"95923fd437e06edd38a4f0e139a27c755a6f3ba6"},{"fixed":"c699bed3f75e79bd64ddec9dec49f9e210eed281"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"95923fd437e06edd38a4f0e139a27c755a6f3ba6"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"c699bed3f75e79bd64ddec9dec49f9e210eed281"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["AOO4116-GA","AOO4115-GA","AOO4114-GA","AOO4113-GA","AOO4112-GA","AOO4111-GA","AOO4110-GA","AOO419-RC1","AOO419-GA","AOO418-GA","AOO417-RC1","AOO417"],"database_specific":{"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/apache/openoffice/commit/c699bed3f75e79bd64ddec9dec49f9e210eed281","target":{"file":"main/sc/source/ui/docshell/dbdocimp.cxx"},"deprecated":false,"digest":{"line_hashes":["249367683595601261843513298457838400690","231167443737981274119800014320056993661","338346770630542481246544818828659713027","339155283697459807818586618632148667713","242263861908671610206795498127647063047","227367455803089693044698945039292909004","286825011297791434679678907263739254886","264458190060630856737107088286712000944","51631595426096171465202701284709160275"],"threshold":0.9},"id":"CVE-2026-59265-52b313db"},{"signature_version":"v1","source":"https://gitbox.apache.org/repos/asf/openoffice.git@95923fd437e06edd38a4f0e139a27c755a6f3ba6","target":{"file":"main/jvmaccess/source/classpath.cxx"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["184326337095401453046532546286355257422","31460777879236111236455495707394529526","248819974324742440970131019002804509351","313214456265352843058082484597657299043","182636520583609082125546612978935360499","103484387435178587380139935840613599273","33529471037527553113939705113139752460"]},"id":"CVE-2026-59265-5effb1ed","signature_type":"Line"},{"signature_type":"Line","signature_version":"v1","source":"https://gitbox.apache.org/repos/asf/openoffice.git@181421139242694b309751fb666406eddc203c50","target":{"file":"main/jvmaccess/source/classpath.cxx"},"deprecated":false,"digest":{"line_hashes":["184326337095401453046532546286355257422","31460777879236111236455495707394529526","248819974324742440970131019002804509351","313214456265352843058082484597657299043","182636520583609082125546612978935360499","103484387435178587380139935840613599273","33529471037527553113939705113139752460"],"threshold":0.9},"id":"CVE-2026-59265-d67e15f5"},{"deprecated":false,"digest":{"function_hash":"245545582418439619995171001713555727760","length":11331},"id":"CVE-2026-59265-d8244fc5","signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/openoffice/commit/c699bed3f75e79bd64ddec9dec49f9e210eed281","target":{"file":"main/sc/source/ui/docshell/dbdocimp.cxx","function":"ScDBDocFunc::DoImport"}},{"signature_version":"v1","source":"https://github.com/apache/openoffice/commit/95923fd437e06edd38a4f0e139a27c755a6f3ba6","target":{"file":"main/jvmaccess/source/classpath.cxx"},"deprecated":false,"digest":{"line_hashes":["184326337095401453046532546286355257422","31460777879236111236455495707394529526","248819974324742440970131019002804509351","313214456265352843058082484597657299043","182636520583609082125546612978935360499","103484387435178587380139935840613599273","33529471037527553113939705113139752460"],"threshold":0.9},"id":"CVE-2026-59265-e12469ce","signature_type":"Line"}],"vanir_signatures_modified":"2026-10-28T11:12:19Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59265.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}