CVE-2021-30472
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base:...
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.
- Record
CVE-2021-30472- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
CVE List No score
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.
- Record
CVE-2021-30472- Weakness
- CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2021-17395 No score
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.
- Record
EUVD-2021-17395- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4wq4-55w3-3f9f
7.8
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base:...
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.
- Record
GHSA-4wq4-55w3-3f9f- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
OSV
7.8
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.
- Record
CVE-2021-30472- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-30472
7.8
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.
- Record
DEBIAN-CVE-2021-30472- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-30472
7.8
A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.
- Record
UBUNTU-CVE-2021-30472- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libpodofoDebian:12 |
All versions, plus listed versions 0.9.8+dfsg-30.9.8+dfsg-3.10.9.8+dfsg-3.1~exp10.9.8+dfsg-3.20.9.8+dfsg-3.3 |
None known |
libpodofoDebian:13 |
All versions, plus listed versions 0.9.8+dfsg-3.20.9.8+dfsg-3.3 |
None known |
libpodofoDebian:14 |
All versions, plus listed versions 0.9.8+dfsg-3.20.9.8+dfsg-3.3 |
None known |
libpodofoUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 0.9.0-1.1ubuntu10.9.0-1.20.9.0-1.2ubuntu0.1~esm10.9.0-1.2ubuntu0.1~esm3 |
None known |
libpodofoUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 0.9.0-1.30.9.3-30.9.3-40.9.3-4ubuntu0.1~esm1 |
None known |
libpodofoUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 0.9.5-60.9.5-80.9.5-8build10.9.5-90.9.5-9ubuntu0.1~esm1 |
None known |
libpodofoUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 0.9.6+dfsg-50.9.6+dfsg-5build10.9.6+dfsg-5ubuntu0.1~esm1 |
None known |
libpodofoUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 0.9.7+dfsg-20.9.7+dfsg-2build10.9.7+dfsg-2build20.9.7+dfsg-30.9.7+dfsg-3ubuntu0.1~esm1 |
None known |
libpodofoUbuntu:24.04:LTS |
All versions, plus listed versions 0.9.8+dfsg-3build10.9.8+dfsg-3build20.9.8+dfsg-3.1build10.9.8+dfsg-3.1build20.9.8+dfsg-3.1build3 |
None known |
libpodofoUbuntu:25.10 |
All versions, plus listed versions 0.9.8+dfsg-3.2 |
None known |
libpodofoUbuntu:26.10 |
All versions, plus listed versions 0.9.8+dfsg-3.30.9.8+dfsg-3.3build1 |
None known |
libpodofoUbuntu:26.04:LTS |
All versions, plus listed versions 0.9.8+dfsg-3.20.9.8+dfsg-3.3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-30472 is a high vulnerability (CVSS 7.8) in Podofo, published May 26, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.76%, the 55th percentile. No source names a fixed version.