原始 OSV JSON{
"id": "GHSA-5qjq-93h5-hrgp",
"aliases": [
"CVE-2026-59938"
],
"details": "### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires loading images where the declared size values are much too large compared to the actual data.\n\n### Patches\n\nThis has been fixed in [pypdf==6.14.0](https://github.com/py-pdf/pypdf/releases/tag/6.14.0).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#3888](https://github.com/py-pdf/pypdf/pull/3888).",
"summary": "pypdf: Possible large memory usage for wrong image dimensions",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.14.0"
}
]
}
],
"package": {
"name": "pypdf",
"ecosystem": "PyPI"
}
}
],
"modified": "2026-07-23T15:06:58Z",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
}
],
"published": "2026-07-23T15:06:58Z",
"references": [
{
"url": "https://github.com/py-pdf/pypdf/security/advisories/GHSA-5qjq-93h5-hrgp",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59938",
"type": "ADVISORY"
},
{
"url": "https://github.com/py-pdf/pypdf/pull/3888",
"type": "WEB"
},
{
"url": "https://github.com/py-pdf/pypdf/commit/c64583be16b8e8763d8777075f8ecbf382014b7a",
"type": "WEB"
},
{
"url": "https://github.com/py-pdf/pypdf",
"type": "PACKAGE"
},
{
"url": "https://github.com/py-pdf/pypdf/releases/tag/6.14.0",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-789"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-07-08T18:16:35Z",
"github_reviewed_at": "2026-07-23T15:06:58Z"
}
}