Description
PoDoFo is a C++17 PDF manipulation library. From 1.0.0 to before 1.0.4, a double-free vulnerability exists in compute_hash_to_sign() in src/podofo/private/OpenSSLInternal_Ripped.cpp. If EVP_DigestFinal fails after buf has already been freed, the Error label frees buf a second time, causing heap corruption. This vulnerability is fixed in 1.0.4.
Published: 2026-05-14
Score: 2.5 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when PoDoFo’s compute_hash_to_sign() function in OpenSSLInternal_Ripped.cpp performs a double‑free. If EVP_DigestFinal fails after the temporary buffer has already been freed, the error handling code frees the same buffer again, corrupting heap memory. The issue is classified as CWE‑415 and is limited to causing heap corruption; the CVE description does not state that it enables code execution or other more severe impacts.

Affected Systems

PoDoFo library releases from version 1.0.0 through 1.0.3 are affected. The double‑free flaw was fixed in version 1.0.4 and later, which removes the secondary free path.

Risk and Exploitability

The CVSS score of 2.5 indicates low severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires that an application using PoDoFo parses a PDF that triggers EVP_DigestFinal to fail after freeing the buffer, which limits the attack to scenarios where untrusted PDF data is processed. The overall risk is therefore confined to applications that handle potentially malicious PDFs and does not involve direct remote code execution or widespread availability impact.

Generated by OpenCVE AI on May 14, 2026 at 18:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PoDoFo to version 1.0.4 or newer to eliminate the double‑free flaw.
  • If an upgrade is not possible, restrict PDF processing to trusted documents and run the library in an isolated environment with limited permissions to reduce the chance of exploitation.
  • Continuously monitor PoDoFo release notes and security advisories for new patches and updates.

Generated by OpenCVE AI on May 14, 2026 at 18:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 14 May 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 14 May 2026 17:00:00 +0000

Type Values Removed Values Added
Description PoDoFo is a C++17 PDF manipulation library. From 1.0.0 to before 1.0.4, a double-free vulnerability exists in compute_hash_to_sign() in src/podofo/private/OpenSSLInternal_Ripped.cpp. If EVP_DigestFinal fails after buf has already been freed, the Error label frees buf a second time, causing heap corruption. This vulnerability is fixed in 1.0.4.
Title PoDoFo: Double-free vulnerability in compute_hash_to_sign()
Weaknesses CWE-415
References
Metrics cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-14T18:00:18.245Z

Reserved: 2026-05-05T19:52:59.148Z

Link: CVE-2026-44348

cve-icon Vulnrichment

Updated: 2026-05-14T18:00:07.338Z

cve-icon NVD

Status : Deferred

Published: 2026-05-14T17:16:22.553

Modified: 2026-05-14T18:16:49.800

Link: CVE-2026-44348

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-14T19:00:13Z

Weaknesses