Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-3838

published critical CVSS 3.0 · 9.8

PHAR Deserialization in dompdf/dompdf

Published
15 Nov 2024, 10:51:36 UTC
Updated
18 Nov 2024, 14:41:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
dompdf — dompdf/dompdfunspecified to < 2.0.0 Affected Not stated @huntr_ai
dompdf — dompdf0 to < 2.0.0 · Other versions: unknown Affected Not stated CISA-ADP
Debian bullseye php-dompdf Advisory build 0.6.2+dfsg-3.1+deb11u1 DLA-4427-1
Ubuntu bionic php-dompdf Advisory build 0.6.2+dfsg-3ubuntu0.18.04.1~esm1 USN-6277-1
Debian buster php-dompdf Advisory build 0.6.2+dfsg-3+deb10u1 DLA-3495-1
Debian buster php-dompdf Advisory build 0.6.2+dfsg-3+deb10u2 DLA-3495-2
Ubuntu focal php-dompdf Advisory build 0.6.2+dfsg-3ubuntu0.20.04.1 USN-6277-1
Ubuntu jammy php-dompdf Advisory build 0.6.2+dfsg-3.1ubuntu0.1 USN-6277-2
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu xenial php-dompdf Advisory build 0.6.1+dfsg-2ubuntu1+esm1 USN-6277-1

Description

DomPDF before version 2.0.0 is vulnerable to PHAR deserialization due to a lack of checking on the protocol before passing it into the file_get_contents() function. An attacker who can upload files of any type to the server can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution, especially when DOMPdf is used with frameworks with documented POP chains like Laravel or vulnerable developer code.

en · @huntr_ai · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
9.8 / 10
Severity
critical
Provider
@huntr_ai · cna
Vector string
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 9.8 critical CISA-ADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
dompdf dompdf/dompdf unspecified to < 2.0.0 (affected · custom) @huntr_ai · cna
dompdf dompdf 0 to < 2.0.0 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-502 CWE-502 Deserialization of Untrusted Data (@huntr_ai · cna)

References

2

Provider assertions

2

@huntr_ai · cna

PHAR Deserialization in dompdf/dompdf

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
a2a56fd43eb3d6442a92c1506bc2f85081075beed9dbe21cf3740ba11eb3e841
Ingested
23 Sep 2026, 07:55:59 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected