{"id":"CVE-2026-18564","kind":"vulnerability","aliases":["CVE-2026-18564"],"related":[],"title":"LibreOffice: PDF passwords weakened by a non-cryptographic random source","description":"LibreOffice can export documents to PDF protected by a password. With the PDF 2.0 option the file is encrypted with 256-bit AES, using a file encryption key and salts that are meant to be random. The key and the salts were drawn from a pseudo-random number generator that is not suitable for cryptography, so the encryption key of an exported PDF could be recovered without knowing the password. In fixed versions the key and the salts are drawn from the random source of the operating system.","summary":"When LibreOffice exports a password-protected PDF with the PDF 2.0 option, the 256-bit AES encryption key and salts come from a pseudo-random generator that is not suitable for cryptography. An attacker could recover the encryption key of an exported PDF without knowing the password.","severity":"medium","cvss":6.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["libreoffice","office-documents","runtime"],"not_affected_if":["no-password-pdf-export","pdf-1.x-export"],"how_to_check":"- Check the installed LibreOffice version (Help > About LibreOffice) against the fixed versions below\n- Look for exported PDFs that use the PDF 2.0 encryption option, which is the affected path","fix":null,"status":"open","published_at":"2026-11-16T17:17:33+00:00","first_seen_at":"2026-11-16T17:37:56+00:00","triaged_at":"2026-11-16T17:38:55+00:00","updated_at":"2026-11-16T17:38:55+00:00","category":"runtime","confidence":0.6,"triage":{"at":"2026-11-16T17:38:55Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"local","title":"LibreOffice: PDF passwords weakened by a non-cryptographic random source","impact":"medium","summary":"When LibreOffice exports a password-protected PDF with the PDF 2.0 option, the 256-bit AES encryption key and salts come from a pseudo-random generator that is not suitable for cryptography. An attacker could recover the encryption key of an exported PDF without knowing the password.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["libreoffice","office-documents"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"Encryption key of exported PDFs recovered without the password","analyst_note":"Find the fixed LibreOffice versions and the vendor advisory at the NVD entry or the LibreOffice security page; the sources give no fixed version.","how_to_check":"- Check the installed LibreOffice version (Help > About LibreOffice) against the fixed versions below\n- Look for exported PDFs that use the PDF 2.0 encryption option, which is the affected path","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-password-pdf-export","pdf-1.x-export"],"who_is_affected":"Only documents exported to PDF with a password and the PDF 2.0 option are affected, since that option uses the weak key and salt generation. Teams that do not export password-protected PDF 2.0 files from LibreOffice can skip it. The sources do not name the fixed versions, so unknown.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000741,"input_tokens":4584,"output_tokens":565,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-18564':14A,17A '-2026':13A,16A '2.0':34B,85C '256':37B,92C 'ae':39B,94C 'attack':58B 'bit':38B,93C 'come':44B 'could':59B,136C 'cryptograph':9A 'cryptographi':56B,127C 'cve':12A,15A 'document':21B,75C 'drawn':114C,152C 'encrypt':40B,62B,90C,98C,130C 'export':25B,66B,74C,134C 'file':88C,97C 'fix':144C 'generat':50B,121C 'key':41B,63B,99C,109C,131C,147C 'know':69B,140C 'libreoffic':1A,18B,24B,72C 'meant':104C 'non':8A 'non-cryptograph':7A 'number':120C 'offic':20B 'office-docu':19B 'oper':159C 'option':35B,86C 'password':3A,28B,71B,81C,142C 'password-protect':27B 'pdf':2A,30B,33B,67B,77C,84C,135C 'protect':29B,78C 'pseudo':48B,118C 'pseudo-random':47B,117C 'random':10A,49B,107C,119C,155C 'recov':60B,138C 'runtim':22B 'salt':43B,101C,112C,150C 'sourc':11A,156C 'suitabl':54B,125C 'system':160C 'use':95C 'version':145C 'weaken':4A 'without':68B,139C","nicknames":[],"mitigations":[],"who_affected":"Only documents exported to PDF with a password and the PDF 2.0 option are affected, since that option uses the weak key and salt generation. Teams that do not export password-protected PDF 2.0 files from LibreOffice can skip it. The sources do not name the fixed versions, so unknown.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["libreoffice","medium","officedocuments","runtime"],"campaign_type":null,"search_a":"'-18564':14A,17A '-2026':13A,16A 'cryptograph':9A 'cve':12A,15A 'libreoffic':1A 'non':8A 'non-cryptograph':7A 'password':3A 'pdf':2A 'random':10A 'sourc':11A 'weaken':4A","search_b":"'2.0':34B '256':37B 'ae':39B 'attack':58B 'bit':38B 'come':44B 'could':59B 'cryptographi':56B 'document':21B 'encrypt':40B,62B 'export':25B,66B 'generat':50B 'key':41B,63B 'know':69B 'libreoffic':18B,24B 'offic':20B 'office-docu':19B 'option':35B 'password':28B,71B 'password-protect':27B 'pdf':30B,33B,67B 'protect':29B 'pseudo':48B 'pseudo-random':47B 'random':49B 'recov':60B 'runtim':22B 'salt':43B 'suitabl':54B 'without':68B","search_c":"'2.0':85C '256':92C 'ae':94C 'bit':93C 'could':136C 'cryptographi':127C 'document':75C 'drawn':114C,152C 'encrypt':90C,98C,130C 'export':74C,134C 'file':88C,97C 'fix':144C 'generat':121C 'key':99C,109C,131C,147C 'know':140C 'libreoffic':72C 'meant':104C 'number':120C 'oper':159C 'option':86C 'password':81C,142C 'pdf':77C,84C,135C 'protect':78C 'pseudo':118C 'pseudo-random':117C 'random':107C,119C,155C 'recov':138C 'salt':101C,112C,150C 'sourc':156C 'suitabl':125C 'system':160C 'use':95C 'version':145C 'without':139C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T17:17:33+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"security@documentfoundation.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-18564","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18564","severity":null,"published_at":"2026-11-16T17:17:33+00:00","modified_at":"2026-11-16T17:17:33+00:00","first_seen_at":"2026-11-16T17:37:56+00:00","fetched_at":"2026-11-16T17:37:56+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}