CVE-2026-33929
Full vulnerability record from the local CVENow database.
Description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples. This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.36, from 3.0.0 through 3.0.7. Users are recommended to update to version 2.0.37 or 3.0.8 once available. Until then, they should apply the fix provided in GitHub PR 427. The ExtractEmbeddedFiles example contained a path traversal vulnerability (CWE-22) mentioned in CVE-2026-23907. However the change in the releases 2.0.36 and 3.0.7 is flawed because it doesn't consider the file path separator. Because of that, a user having writing rights on /home/ABC could be victim to a malicious PDF resulting in a write attempt to any path starting with /home/ABC, e.g. "/home/ABCDEF". Users who have copied this example into their production code should apply the mentioned change. The example has been changed accordingly and is available in the project repository.
View original CVE JSON
{
"id": "CVE-2026-33929",
"sourceIdentifier": "[email protected]",
"published": "2026-04-14T09:16:36.297",
"lastModified": "2026-10-26T22:10:00.163",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples.\n\nThis issue affects the \nExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.36, from 3.0.0 through 3.0.7.\n\n\nUsers are recommended to update to version 2.0.37 or 3.0.8 once \navailable. Until then, they should apply the fix provided in GitHub PR \n427.\n\nThe ExtractEmbeddedFiles example contained a path traversal vulnerability (CWE-22) mentioned in CVE-2026-23907. However the change in the releases 2.0.36 and 3.0.7 is flawed because it doesn't consider the file path separator. Because of that, a user having writing rights on /home/ABC could be victim to a malicious PDF resulting in a write attempt to any path starting with /home/ABC, e.g. \"/home/ABCDEF\".\n\nUsers who have copied this example into their production code should apply the mentioned change. The example \nhas been changed accordingly and is available in the project repository."
},
{
"lang": "es",
"value": "Limitación Inadecuada de un Nombre de Ruta a un Directorio Restringido (’Salto de Ruta’) vulnerabilidad en los Ejemplos de Apache PDFBox.\n\nEste problema afecta al ejemplo ExtractEmbeddedFiles en Apache PDFBox: desde 2.0.24 hasta 2.0.36, desde 3.0.0 hasta 3.0.7.\n\nSe recomienda a los usuarios actualizar a la versión 2.0.37 o 3.0.8 una vez disponibles. Hasta entonces, deberían aplicar la corrección proporcionada en el PR 427 de GitHub.\n\nEl ejemplo ExtractEmbeddedFiles contenía una vulnerabilidad de salto de ruta (CWE-22) mencionada en CVE-2026-23907. Sin embargo, el cambio en las versiones 2.0.36 y 3.0.7 es defectuoso porque no considera el separador de ruta de archivo. Debido a eso, un usuario con derechos de escritura en /home/ABC podría ser víctima de un PDF malicioso resultando en un intento de escritura a cualquier ruta que comience con /home/ABC, p. ej. ’/home/ABCDEF’.\n\nLos usuarios que han copiado este ejemplo en su código de producción deberían aplicar el cambio mencionado. El ejemplo ha sido modificado en consecuencia y está disponible en el repositorio del proyecto."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "Apache Software Foundation",
"product": "Apache PDFBox Examples",
"defaultStatus": "unaffected",
"collectionURL": "https://repo.maven.apache.org/maven2",
"packageName": "org.apache.pdfbox:pdfbox-examples",
"versions": [
{
"version": "2.0.24",
"lessThanOrEqual": "2.0.36",
"versionType": "semver",
"status": "affected"
},
{
"version": "3.0.0",
"lessThanOrEqual": "3.0.7",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
"baseScore": 4.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 1.4
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-04-14T19:50:04.295675Z",
"id": "CVE-2026-33929",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:apache:pdfbox:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.0.24",
"versionEndExcluding": "2.0.37",
"matchCriteriaId": "6575F889-F1A2-46DB-AE08-1FCD511CA44E"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:apache:pdfbox:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.0.0",
"versionEndExcluding": "3.0.8",
"matchCriteriaId": "5D05B9D6-455C-48FA-A899-CDC053258BF5"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/apache/pdfbox/pull/427/changes",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://lists.apache.org/thread/j8l07tgzy9dm8d8n0f3c45h7zg7t3ld6",
"source": "[email protected]",
"tags": [
"Mailing List",
"Vendor Advisory"
]
},
{
"url": "https://lists.apache.org/thread/op3lyx1ngzy4qycn06l6hljyf28ff0zs",
"source": "[email protected]",
"tags": [
"Mailing List"
]
}
]
}