CVE-2025-64503: libcupsfilters, backport upstream fix (no version bump) - #38
CVE-2025-64503: libcupsfilters, backport upstream fix (no version bump)#38jasonodoom wants to merge 2 commits into
Conversation
Comparison against the upstream fixTranscription lane (this PR's payload). The added and removed code lines of the embedded patch (cupsfilters/pdftoraster.cxx) are identical to the upstream fix commit libcupsfilters fd01543f, normalized for whitespace. The cross-family Reviewer attested this; the check here was recomputed independently against the bundle's upstream-fix.patch. The Linux cert (trace run 33975628773) built libcupsfilters at the pinned revision with and without the patch: the unpatched arm fired the discriminator, the patched arm was clean. Blind-authoring lane (separate measurement, not this payload). When the same CVE was given to claude-opus-4-8 with only the vulnerability description and the pre-fix source, never the upstream patch, the graded result against the human fix was WRONG: it changed indentation and whitespace only and added no bounds check on the page dimensions, so the integer overflow and undersized buffer remained. Report: trace data/reports/authoring-accuracy-vs-human-2026-09-04.json. The gap between the two lanes is the case for the gate. A blind fix that changes nothing would have passed a build but not the Reviewer's line-level comparison against the upstream fix. |
This PR authors the upstream fix as an in-tree patch against the current nixpkgs version (no version bump). An agent generated it; a cross-family reviewer verified it transcribes the upstream commit, and a cert proved the bundled reproducer goes red→green. A human maintainer must still confirm sufficiency before merging:
Opened as a draft deliberately — mark Ready-for-review only after the boxes above are checked.
Evidence: CVE-2025-64503 (human-review-required) trace bundle
7d39d3572dd1af31https://github.com/Ad-Astra-Computing/trace/.github/workflows/steward.yml@refs/heads/mainhttps://token.actions.githubusercontent.comf13ec9852ca452df38492a0c30ad60b49efc1e50Verify locally
Generated by trace.