ItextApplication · Itextpdf

CVE-2023-6299

MEDIUM · 6.5 CVSS v3.1 Published 2023-11-26
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
72/100
Remediation priority · Elevated
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A vulnerability, which was classified as problematic, has been found in Apryse iText 8.0.1. This issue affects some unknown processing of the file PdfDocument.java of the component Reference Table Handler. The manipulation leads to memory leak. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 8.0.2 is able to address this issue. It is recommended to upgrade the affected component. The identifier VDB-246125 was assigned to this vulnerability. NOTE: The vendor was contacted early about this vulnerability. The fix was introduced in the iText 8.0.2 release on October 25th 2023, prior to the disclosure.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A memory leak vulnerability exists in the Reference Table Handler of PdfDocument.java in iText PDF library version 8.0.1. The vulnerability allows remote attackers to cause memory exhaustion through manipulation of PDF files processed by the affected component.

MitigationUpgrade iText from version 8.0.1 to version 8.0.2 or later, which contains the fix for the memory leak in the Reference Table Handler.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
ItextApplication
Affected:= 8.0.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify iText library version in use
    Check the JAR file name (itext-8.0.1.jar) or inspect Maven/Gradle dependencies for com.itextpdf:itext7-core version 8.0.1
    Affected if The version is exactly 8.0.1
  2. Confirm PDF processing is occurring
    Verify that the application uses PdfDocument class from com.itextpdf.kernel.pdf to process PDF files
    Affected if PdfDocument is being instantiated and PDF files are being read/processed
  3. Check for Reference Table Handler usage
    Monitor application behavior when processing PDF files - the memory leak occurs in the Reference Table Handler during PDF parsing
    Affected if PDF files with crafted reference tables are being processed by PdfDocument

The environment is affected if iText version 8.0.1 is in use and the application processes PDF files through PdfDocument, as the memory leak in the Reference Table Handler will trigger during PDF parsing.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade iText from version 8.0.1 to version 8.0.2 or later, which contains the fix for the memory leak in the Reference Table Handler.

Recommended fix High confidence

iText 8.0.2

  1. Update the iText dependency in your project's build configuration (Maven pom.xml or Gradle build.gradle) from version 8.0.1 to version 8.0.2
  2. Run maven/gradle to fetch the updated dependency
  3. Rebuild the project to incorporate the new library version
  4. Test the application to verify the memory leak is resolved and functionality remains intact
Caveat Minor version upgrade; unlikely to introduce breaking changes as this is a patch release addressing a memory leak

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Itext Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing3.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,750
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-6299 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-6299 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data