Skip to content

[pull] master from kevoreilly:master - #544

Merged
pull[bot] merged 1 commit into
threatcode:masterfrom
kevoreilly:master
Sep 29, 2026
Merged

pull[bot] merged 1 commit into
threatcode:masterfrom
kevoreilly:master

Conversation

@pull

@pull pull Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

PDF processing logged the following exception when peepdf encountered an indirect reference:

`AttributeError: 'PDFReference' object has no attribute 'getElementByName'`

CAPE attempted to identify references using the nonexistent `type` and `id` attributes. peepdf 5.0.0 exposes these values through `getType()` and `getId()`.

Because the exception was caught, PDF processing continued and most report fields remained unchanged. However, base URI and annotation URL resolution could fail.

- Use `getType()` and `getId()` to resolve peepdf reference objects.

Changed files
- lib/cuckoo/common/integrations/peepdf.py
  - Lines 40–41 now use obj.getType() and obj.getId() to resolve indirect PDF objects.
@pull pull Bot locked and limited conversation to collaborators Sep 29, 2026
@pull pull Bot added the ⤵️ pull label Sep 29, 2026
@pull
pull Bot merged commit 9e8b781 into threatcode:master Sep 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant