{"id":"CVE-2021-30472","aliases":["DEBIAN-CVE-2021-30472","EUVD-2021-17395","GHSA-4wq4-55w3-3f9f","UBUNTU-CVE-2021-30472"],"status":"published","title":"A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base:...","description":"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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00763,"percentile":0.5582,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119","CWE-787"],"published":"2021-05-26T21:38:26Z","modified":"2026-10-24T10:30:38Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3","0.9.8+dfsg-3.1","0.9.8+dfsg-3.1~exp1","0.9.8+dfsg-3.2","0.9.8+dfsg-3.3"]},{"source":"osv","ecosystem":"Debian:13","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3.2","0.9.8+dfsg-3.3"]},{"source":"osv","ecosystem":"Debian:14","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3.2","0.9.8+dfsg-3.3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0-1.1ubuntu1","0.9.0-1.2","0.9.0-1.2ubuntu0.1~esm1","0.9.0-1.2ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0-1.3","0.9.3-3","0.9.3-4","0.9.3-4ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.5-6","0.9.5-8","0.9.5-8build1","0.9.5-9","0.9.5-9ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6+dfsg-5","0.9.6+dfsg-5build1","0.9.6+dfsg-5ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.7+dfsg-2","0.9.7+dfsg-2build1","0.9.7+dfsg-2build2","0.9.7+dfsg-3","0.9.7+dfsg-3ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3build1","0.9.8+dfsg-3build2","0.9.8+dfsg-3.1build1","0.9.8+dfsg-3.1build2","0.9.8+dfsg-3.1build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3.2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3.3","0.9.8+dfsg-3.3build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3.2","0.9.8+dfsg-3.3"]}],"products":[{"vendor":"podofo","product":"podofo"},{"vendor":"podofo_project","product":"podofo"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1947458","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30472"},{"url":"https://github.com/advisories/GHSA-4wq4-55w3-3f9f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-30472","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-30472","tags":["report"]},{"url":"https://sourceforge.net/p/podofo/tickets/132/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-30472","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-30472","description":"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.","status":"published","published":"2021-05-26T21:38:26Z","modified":"2024-08-03T22:32:41.103Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:33:02.20241Z"}],"euvd":[{"id":"EUVD-2021-17395","description":"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.","status":"published","published":"2021-05-26T21:38:26Z","modified":"2024-08-03T22:32:41Z","updated_at":"2026-11-03T03:24:42.48986Z"}],"ghsa":[{"id":"GHSA-4wq4-55w3-3f9f","title":"A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base:...","description":"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.","status":"published","published":"2022-05-24T19:03:33Z","modified":"2023-01-30T05:02:06Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119","CWE-787"],"updated_at":"2026-11-02T14:46:33.666288Z"}],"nvd":[{"id":"CVE-2021-30472","description":"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.","status":"published","published":"2021-05-26T22:15:08.123Z","modified":"2026-06-17T03:50:18.297Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119","CWE-787"],"updated_at":"2026-11-02T14:06:53.987491Z"}],"osv":[{"id":"CVE-2021-30472","description":"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.","status":"published","published":"2021-05-26T22:15:08.123Z","modified":"2026-10-24T10:30:38.142700215Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.483607Z"},{"id":"DEBIAN-CVE-2021-30472","description":"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.","status":"published","published":"2021-05-26T22:15:08.123Z","modified":"2026-10-23T18:03:26.261957654Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.94143Z"},{"id":"UBUNTU-CVE-2021-30472","description":"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.","status":"published","published":"2021-05-26T22:15:00Z","modified":"2026-10-17T12:55:46.206727011Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:27.332852Z"}]}}
