The NetBSD Project

CVS log for pkgsrc/multimedia/libde265/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / libde265

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Sep 22 07:38:35 2026 UTC (7 weeks, 6 days ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
libde265: updated to 1.1.3

v1.1.3 completes high bit depth decoding (up to 16 bit) and repairs
cross-component prediction, which had corrupted 4:4:4 Range Extensions streams
since v1.0.17. It is ABI- and API-compatible with v1.1.2 and a drop-in
replacement; no functions or enum values were added.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Sep 3 04:55:25 2026 UTC (2 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
libde265: updated to 1.1.2

v1.1.2 is a security and bugfix release. It is ABI- and API-compatible with v1.1.1 and is a drop-in replacement. Two enum values were added: DE265_ERROR_INVALID_ARGUMENT and DE265_WARNING_SLICE_SEGMENT_ADDRESS_NOT_INCREASING.

Security fixes

(CVE numbers will be added when assigned.)

CVE-2026-XXXXX (GHSA-xp3h-6f5r-8cxp) Heap use-after-free and double free in multi-threaded (WPP) decoding. A crafted stream whose slice segments repeat or rewind their slice_segment_address within a picture re-ran CTB rows that were already marked finished, so the CABAC context handoff between rows was no longer ordered and the shared context table was released twice. Slice segments that do not follow the previous one in tile-scan order are now rejected with the new warning DE265_WARNING_SLICE_SEGMENT_ADDRESS_NOT_INCREASING, and the WPP row progress is reset for each slice segment. (medium)
CVE-2026-XXXXX (GHSA-mm7m-v26f-wf8x) Heap use-after-free after de265_reset(): the pointer to the previous slice header was left dangling when the DPB was cleared, and a dependent slice pushed after the reset copied from freed memory. (medium)
Thanks to @rohitmahesh1, @l1ve709, and @sonicnew for reporting these issues.

Hardening

de265_push_NAL() rejects NAL units shorter than the two-byte NAL unit header (including negative lengths) with the new DE265_ERROR_INVALID_ARGUMENT instead of calling memcpy() with a NULL destination and then aborting the decode
SEI parsing: the overflow guard on the accumulated payload_size compared the wrong variable and could never trigger, so a crafted size could wrap around silently (thanks @94xhn)
The per-CTB progress counters and the image integrity flag are atomic with acquire/release ordering; ThreadSanitizer reported data races on them with several worker threads

Bug fixes

Regression since v1.0.17: a cu_qp_delta of -26 was rejected as out of range although the allowed range is asymmetric and -26 is valid. Real-world encoders emit this value; the rejection aborted the slice and corrupted every picture of the affected IDR period
Regression since v1.0.17: an out-of-range value in the advisory VUI fields (bitstream_restriction(), chroma_sample_loc_type_*) rejected the whole SPS, so HEIF images from some consumer encoders could not be decoded at all. These fields are never used in the decoding process; they are now clamped with a warning as in v1.0.16. Malformed exp-Golomb codes are still a hard error
16-bit decoding: the residual of 4x4 intra luma blocks (DST) was clipped to 16 bits although it needs 17 bits at bit depth 16, corrupting those blocks and everything intra-predicted from them. Output is now identical to the HM reference decoder; bit depths up to 15 were not affected (thanks @felixbuenemann)
MSVC: the visibility attribute is only used with GCC and Clang, fixing the static build with MSVC
CMake: building sherlock265 together with the library silently disabled the hidden symbol visibility introduced in v1.1.1. sherlock265 only uses exported symbols, so it no longer forces full visibility, and the configure output now states why symbols are hidden or exported. FORCE_FULL_VISIBILITY is documented in the README

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jun 5 08:19:13 2026 UTC (5 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
libde265: updated to 1.1.1

1.1.1

The decoding speed has been improved by about 8% on x86 CPUs thanks to more SIMD acceleration and optimized CABAC code. Also the startup time has been improved, which gives a 3% speed improvement when decoding HEIC files with similar-sized tiles.

Build differences

When building shared-libraries in Release mode, we are now using -fvisibility=hidden by default. You can override this with the new cmake option "FORCE_FULL_VISIBILITY".

Security

CVE TBD (GHSA-ccfw-29x7-rrx3) - Pixel accessor signed integer overflow causes heap OOB read/write
CVE TBD (GHSA-j2qq-x2xq-g9wr) - SAO sequential filter heap buffer overflow via signed integer overflow

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu May 28 06:41:34 2026 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
libde265: updated to 1.1.0

1.1.0

Added de265_security_limits parameters to limit the maximum image size and memory that libde265 will use during decoding.

Security fixes

CVE TBD (GHSA-g2rg-wj66-w594) - Out-of-bounds write in process_reference_picture_set via predicted short-term RPS
CVE TBD (GHSA-vv8h-932h-7r86) - Heap buffer overflow in de265_image_get_buffer via SPS dimension integer overflow
CVE TBD (GHSA-g5hj-rf9f-7vxm) - Unbounded memory accumulation via orphaned slice headers in read_slice_NAL
(GHSA-x27c-jp65-g395) - Quadratic CPU consumption in NAL parser (remove_stuffing_bytes, resize)

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 24 18:08:08 2026 UTC (5 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
libde265: update to 1.0.19.

This release contains a number of security fixes, correctness fixes
for edge cases, and build/packaging improvements.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Mar 26 13:54:01 2026 UTC (7 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -9 lines
libde265: update to 1.0.18.

1.0.18

libde265ConfigVersion.cmake renamed to libde265-config-version.cmake
fix pkg-config when installing to absolute paths
fix compilation with MSVC in Debug mode
removed the (defunct) encoder code and the internal development tools from the tarball

1.0.17

This release removes the autotools build scripts. Please migrate to cmake if you have not done that yet.
Furthermore, many input validations have been added and security relevant issues have been fixed.

CVE-2026-33165
CVE-2026-33164

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun May 4 09:04:43 2025 UTC (18 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
libde265: updated to 1.0.16

1.0.16
This release fixes some rare decoding errors and some build issues.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Nov 21 21:00:00 2023 UTC (2 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -2 lines
libde265: updated to 1.0.14

v1.0.14 - build fix

This fixes build-time SSE detection when using the CMake build system.
No other changes than that. You don't need to update if you are using the autotools build system.


v1.0.13 - maintenance release
This release fixes among other smaller issues the following crashes:

* SEGV:occured in function main at dec265.cc
* Memory allocation failed in function main at dec265.cc
* Buffer over-read causes segmentation fault in pic_parameter_set::dump
* Potential segmentation fault due to incorrect realloc in CABAC_encoder_bitstream::check_size_and_resize (unused function)
* SEGV in libde265 in slice_segment_header::dump_slice_segment_header
* Libde265 v1.0.12 was discovered that requested allocation size exceeds maximum supported size of 0x10000000000
* heap-buffer-overflow in derive_spatial_luma_vector_prediction(...)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Aug 31 17:18:43 2020 UTC (6 years, 2 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
multimedia/libde265: import libde265-1.0.6

libde265 is an open source implementation of the h.265 video codec.
It is written from scratch and has a plain C API to enable a simple
integration into other software.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>