Skip to content
Heist/ feed
Back to feed
MediumFix available

libpdfbox2-java — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-27906

A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file. This issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.

Products
libpdfbox2-java
Affected versions
Not specified
Fixed versions
2.0.23-1
CVEs
CVE-2021-27906
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:34 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-27906

core-osv · Original source

Published 19 Mar 2021, 16:15 UTC

A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file. This issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.

osv:DEBIAN-CVE-2021-27906

libpdfbox2-java

Fixed versions: 2.0.23-1

libpdfbox2-java

Fixed versions: 2.0.23-1

libpdfbox2-java

Fixed versions: 2.0.23-1

Complete source record
{
  "id": "d7537284e643650d3b294c8b317a374a27b42d54a2d0d33eaec8665e857fa99d",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-27906",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-27906",
    "summary": "A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file. This issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.",
    "evidence": "osv:DEBIAN-CVE-2021-27906",
    "products": [
      {
        "name": {
          "value": "libpdfbox2-java",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.23-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libpdfbox2-java",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.23-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libpdfbox2-java",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.23-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-27906",
      "aliases": [
        "DEBIAN-CVE-2021-27906"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.23-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libpdfbox2-java",
            "purl": "pkg:deb/debian/libpdfbox2-java?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-27906.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.23-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libpdfbox2-java",
            "purl": "pkg:deb/debian/libpdfbox2-java?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-27906.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.23-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libpdfbox2-java",
            "purl": "pkg:deb/debian/libpdfbox2-java?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-27906.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:26.208909874Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-27906"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-27906"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-27906",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421508,
  "published_at": "2021-03-19T16:15:13.093+00:00"
}