An issue was discovered in QPDF before 7.0.0. There is an infinite loop in the QPDFWriter::enqueueObject() function in libqpdf/QPDFWriter.cc.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18183.json"
[
{
"signature_type": "Function",
"source": "https://github.com/qpdf/qpdf/commit/8249a26d69f72b9cda584c14cc3f12769985e481",
"id": "CVE-2017-18183-77fbf1ae",
"deprecated": false,
"target": {
"function": "QPDFWriter::enqueueObject",
"file": "libqpdf/QPDFWriter.cc"
},
"signature_version": "v1",
"digest": {
"length": 1450.0,
"function_hash": "184089771994045095962185382662848846330"
}
},
{
"signature_type": "Line",
"source": "https://github.com/qpdf/qpdf/commit/0f1ce8e6461d417d1fed2ea4a0cbf27f10ee4eff",
"id": "CVE-2017-18183-9218c2a5",
"deprecated": false,
"target": {
"file": "libqpdf/QPDF.cc"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"78122971361805216513325185650823995948",
"289084884134905756271595066312586509022",
"108533816704163507562458597112410082940",
"27048527550166131162142414784945091009"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"source": "https://github.com/qpdf/qpdf/commit/8249a26d69f72b9cda584c14cc3f12769985e481",
"id": "CVE-2017-18183-d1c000cd",
"deprecated": false,
"target": {
"file": "libqpdf/QPDFWriter.cc"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"22323103765301693365547849556103358083",
"122632532649859287921196439806933543581",
"286319865858786830396529952027441885495",
"158448888121874046825453410743867703396",
"232448910327396829598690509556039849936",
"108587633537507210242609878158511307392",
"99195539377686492981065918523367000707",
"186695509163228892404047727026817930733"
],
"threshold": 0.9
}
}
]