Here is an update to vvdec 3.3.0.

Tested on aarch64.


3.3.0

Security fixes:
- GHSA-ww64-v2h4-rvf9: Heap out-of-bounds write via SEI payload_size
  wrap-around in user-data SEI
- GHSA-x289-cp8m-g58r: Heap out-of-bounds read via collocated picture
  of different size in TMVP
- GHSA-g3vh-f4qw-m567: NULL pointer dereference of wrap-around
  reference buffer after mid-CLVS SPS change
- GHSA-pw57-fxvc-2qgr: Use-after-free write in Picture::fillGrey after
  a picture buffer is recreated as 4:0:0
- GHSA-qgqj-f693-2fqc: LMCS table out-of-bounds read after an SPS
  change within a CLVS
- GHSA-f7mj-r2mj-rfvh: PPS not re-validated after its SPS is replaced
  (NULL dereference, out-of-bounds read)
- GHSA-p27c-vmfj-jh2f: Heap out-of-bounds read in
  vvdec_get_nal_unit_type() for short access units

Conformance fixes:
- Fix parsing of several SEI messages (scalable nesting OLS indices,
  omni_viewport_tilt_centre, payloadType > 255 reported as
  VVDEC_SEI_UNKNOWN)
- Fix film grain synthesis for 4:2:2, 4:4:4 and 4:0:0, and for scaling
  factors of 128 and above
- Disable conformance bitstream HRD_B_Fujitsu_2, which contains
  non-conformant SEI messages that are now rejected

Build:
- Don't assume SSE4.1 for the whole project
- Don't force -fPIE globally
- Explicitly require CMake 3.15
- Fix WASM build and test suite

Other changes:
- Reject more invalid bitstreams: SPS changes within a CLVS, reference
  pictures that don't fit the current SPS, out-of-range SEI counts and
  payload sizes
- Fix misaligned stores in the AVX2 4x4 interpolation filter (UB
  reported by UBSan)
- Performance: new or faster x86 SIMD for intra prediction (planar,
  angular PDPC, horizontal/vertical, MIP), CCLM, CIIP, LMCS chroma
  scaling, chroma deblocking, affine 4x4 filters, BDOF, buffer copies;
  CABAC speedups; reuse of CU maps across pictures
- Add ARM NEON implementations for luma angular intra prediction, film
  grain synthesis and some inter-prediction/transform functions
- General code cleanup

3.2.1

Security fixes:
- GHSA-52ww-pw96-mgcf: Use-after-free of ALF APS parameter sets when an
  aps_id is redefined
- GHSA-f464-2gch-9wj8: Use-after-free of sub-picture border-extension
  task parameters
- GHSA-h6mq-3rv5-2v7m: Heap out-of-bounds read and heap disclosure via
  nested buffering-period SEI
- GHSA-6fg2-jjxj-rp37: Untrusted pointer dereference via out-of-bounds
  reference picture list index
- GHSA-w829-5g45-5g7q: Integer overflow on unbounded SPS picture
  dimensions leads to heap buffer overflow in picture allocation

Conformance fixes:
- Trim trailing zeros from all NAL units

Other changes:
- Fix further memory-safety issues (out-of-bounds reads, leaks, double
  free) triggered by broken bitstreams
- Reject more invalid bitstreams: overlapping or incomplete slice
  coverage of a picture, out-of-range sps_num_subpics_minus1, bit
  depths above 10
- Fix an infinite loop in single-threaded mode and a hang on
  incompletely coded pictures
- Fix exceptions escaping from destructors
- Fix y4m color tag for monochrome output
- Fix make write-input-bitstream option passing
- Check elf_aux_info() return value when reading HWCAP on BSD
- Add ARM NEON implementations for dequantization, chroma angular intra
  prediction and inverse LFNST
- General code cleanup

3.2.0

Other changes:
- Add ARM NEON, NEON-RDM, SVE and SVE2 implementations for most
  existing SIMD functions
- Properly implement ARM CPU feature detection
- Add fuzzing infrastructure using libfuzz (enabled by
  VVDEC_FUZZING_BUILD)
- Fix some PVS-Studio warnings
- Fix several cases of undefined behaviour (uninitialized memory,
  negative shifts, integer overflows)
- Fix memory overflows triggered by broken bitstreams
- Fix memory leaks when reading broken bitstreams
- Add more bitstream conformance checks to detect invalid bitstreams
- Use unaligned loads in x86 SIMD code where appropriate
- Add build option VVDEC_WRITE_INPUT_BITSTREAM for debugging
- General code cleanup


Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/vvdec/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile    17 Sep 2026 18:00:28 -0000      1.3
+++ Makefile    23 Nov 2026 20:57:44 -0000
@@ -1,9 +1,8 @@
 COMMENT=       Versatile Video Coding (VVC) decoder
 
-DISTNAME=      vvdec-3.1.0pl20260121
 GH_ACCOUNT=    fraunhoferhhi
 GH_PROJECT=    vvdec
-GH_COMMIT=     872a790411cbb6b5a296085d02253335ccda47b2
+GH_TAGNAME=    v3.3.0
 CATEGORIES=    multimedia
 
 SHARED_LIBS=   vvdec   0.0
@@ -29,5 +28,14 @@ CONFIGURE_ARGS+=-DBUILD_SHARED_LIBS=ON \
 .if !${PROPERTIES:Mlld}
 CONFIGURE_ARGS+=-DVVDEC_ENABLE_LINK_TIME_OPT=OFF
 .endif
+
+VVDEC_BITSTREAMS =     ${WRKSRC}/ext/bitstreams
+
+pre-test:
+       @if ! [ -e 
${VVDEC_BITSTREAMS}/WRAP_D_InterDigital_4/WRAP_D_InterDigital_4.bit ]; then \
+               echo "\n>>> Tests require the JVET VVC conformance bitstreams. 
Please run:"; \
+               echo ">>> cd ${WRKBUILD} && ${LOCALBASE}/bin/cmake 
-DVVDEC_ENABLE_BITSTREAM_DOWNLOAD=ON .\n"; \
+               exit 1; \
+       fi
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/vvdec/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    25 Jan 2026 07:28:33 -0000      1.1.1.1
+++ distinfo    23 Nov 2026 20:57:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (vvdec-3.1.0pl20260121-872a7904.tar.gz) = 
lynkxvI0mCDx6C48TUwvljMeiINuGAW0W6jjIemWXiA=
-SIZE (vvdec-3.1.0pl20260121-872a7904.tar.gz) = 1504775
+SHA256 (vvdec-3.3.0.tar.gz) = iwnb0+Pqdpcqai+1npa4GpyVP0FOafihtaI+7KW8JgA=
+SIZE (vvdec-3.3.0.tar.gz) = 1585435

Reply via email to