CVE-2023-49502: ffmpeg_5, backport upstream fix (no version bump) - #43
CVE-2023-49502: ffmpeg_5, backport upstream fix (no version bump)#43jasonodoom 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 (libavfilter/vf_bwdif.c) are identical to the upstream fix commit FFmpeg 8e6c82ce, 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 33975633515) built ffmpeg_5 at the pinned revision with and without the patch, a 37 minute two-arm build: the unpatched arm fired the discriminator on the crafted clip, 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 GOLD: the same chroma-plane-aware dimension check, placed after the pixel format descriptor lookup. Report: trace data/reports/authoring-accuracy-vs-human-2026-09-04.json. This is one of the cases where the blind lane got the fix right unaided. The PR ships the transcribed upstream fix because that is what the Reviewer can attest line by line. |
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-2023-49502 (human-review-required) trace bundle
f745077a5aeba1f0https://github.com/Ad-Astra-Computing/trace/.github/workflows/steward.yml@refs/heads/mainhttps://token.actions.githubusercontent.comf959d366f1fc4276cf48891ec9cff1251badf4a0Verify locally
Generated by trace.