Poppler pdfdetach 24.03.0 through 26.11.0 contains a path traversal vulnerability in utils/pdfdetach.cc that allows attackers to write files outside the output directory by bypassing a string-prefix containment check. Attackers can craft PDFs with embedded file names containing '..' sequences or absolute paths, so -saveall or -savefile extraction creates or overwrites files with the invoking user's privileges.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131842.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "24.03.0"
},
{
"last_affected": "26.11.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "d8e7a8a9dd4ddd642c35f5fd1538396be2a68aa9"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-131842.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"257494765006688515618058119260297003564",
"49019826255281743941560426517466163544",
"206442282478884975954019360702109675620",
"235288821824963875485458442881325050887"
],
"threshold": 0.9
},
"id": "CVE-2026-131842-17ff9746",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/poppler/poppler@d8e7a8a9dd4ddd642c35f5fd1538396be2a68aa9",
"target": {
"file": "poppler/FileSpec.h"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "83709738051314653164031698606448853965",
"length": 196
},
"id": "CVE-2026-131842-6b444f68",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/poppler/poppler@d8e7a8a9dd4ddd642c35f5fd1538396be2a68aa9",
"target": {
"file": "poppler/FileSpec.cc",
"function": "EmbFile::save"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "90047779272125677756718040366718639760",
"length": 5220
},
"id": "CVE-2026-131842-8974e246",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/poppler/poppler@d8e7a8a9dd4ddd642c35f5fd1538396be2a68aa9",
"target": {
"file": "utils/pdfdetach.cc",
"function": "main"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"245398295121787883485489417596042329792",
"317674661983984602847377517045494174085",
"34549207959263160144544471976034912573",
"8732041845353980447162129588334095534",
"202067882795253921736981833098606473844",
"291493619124420265162371055949918746187",
"143899512909413384713008778337139390768",
"182833927778924070527005785094951662621"
],
"threshold": 0.9
},
"id": "CVE-2026-131842-8a340337",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/poppler/poppler@d8e7a8a9dd4ddd642c35f5fd1538396be2a68aa9",
"target": {
"file": "poppler/FileSpec.cc"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"167103380555422432975657017917789142450",
"330660647960032147498511827370126534405",
"111508110554270843615261606476126738230",
"322722780957111421923981490757777498265",
"117434731328924509896243887623612177323",
"189117254312983420599635789915163754596",
"196676545960676585699224551145345521807",
"69768061652166406711031145687859749919",
"27578580006392789879364974770429025445",
"22363698958585886660579757178236803669",
"50817629881442968592048218427883956199",
"78115858549647917963340702066438639041",
"247106729501213501286893447143861611975",
"146889411128059524864104739193896609804",
"198797670514761758216864481274424076558",
"6559217921494649255270755254657397946",
"201896825333716039388736337674650177162",
"178362274918833363624649699230817151072",
"105886782577701494797308204933676112927",
"307015683867185651017723120812633607953",
"69584247953762090118882338053243576254",
"52096517102891948169484366491745747191",
"330168293048724964257127376508921792955",
"138810749874896520473644914567086818807",
"129504357779582855549718881299663063052",
"11845456933409719732714756613600057379",
"262570251195735527705297191791853189658",
"9333889046112194064436169779100485723",
"6814366413664575457066411377106335346",
"94467167874875577331339753136165686470",
"112103664781485135802441568788218119916",
"308465154076877732720527110039675562231",
"320388760808260285313540888620801035168",
"193694802944415409816531990211150624872",
"239303117120105172097012303718012510175",
"301774015493764685426345761018905769581",
"278490364964122515956542127979644709515",
"206328833997375388025305239376516905635",
"145543211404887031540523199220471282489",
"77609300645543715055771818935996755804",
"41716329203891721176310855523256538274",
"217205389891126584719844097338678427071",
"258908544596742763270945766876116161231",
"132390809561038977515852324545207232680",
"54968363977228888432693853588724796342",
"330168293048724964257127376508921792955",
"138810749874896520473644914567086818807",
"129504357779582855549718881299663063052",
"11845456933409719732714756613600057379",
"262570251195735527705297191791853189658",
"9333889046112194064436169779100485723",
"6814366413664575457066411377106335346",
"107578997166157382036093098072525322309",
"276319080507616592684661723206533227496",
"25079604826169723264036392936398409520",
"53765689874687325845957470768459456942",
"250854081265516382694517427934682189271",
"320388760808260285313540888620801035168",
"310508047051967412549019598395832935601",
"250436331344958771128096356656888151864",
"94235361369490167123481884219497052201",
"56165637237480079083365182778681106974",
"206328833997375388025305239376516905635"
],
"threshold": 0.9
},
"id": "CVE-2026-131842-e2a81b47",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/poppler/poppler@d8e7a8a9dd4ddd642c35f5fd1538396be2a68aa9",
"target": {
"file": "utils/pdfdetach.cc"
}
}
]
"2026-11-18T07:04:25Z"