Debian Patches

Status for protobuf/3.25.7-1

Patch Description Author Forwarded Bugs Origin Last update
hurd.patch Add support for GNU/Hurd which doesn't define PATH_MAX. Bas Couwenberg <sebastic@debian.org> no debian 2023-11-10
s390x.patch Add support for s390x architecture. Based on port of Google V8 JavaScript engine to z Systems Sebastiaan Couwenberg <sebastic@xs4all.nl> no debian https://github.com/ibmruntimes/v8z
x32.patch fix FTBFS on x32 due to versioned glibc symbols protobuf assumes that glibc 2.2.5 memcpy symbols will be available #if
defined(__x86-64__); however, x32 also defines this, but was not
supported prior to 2.16.
Laurence Parry <greenreaper@gmail.com> not-needed debian other, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931503#5 2022-03-11
python3ify_examples.patch execute examples with Pyhton 3 Update shebang to call Python 3 binary. Laszlo Boszormenyi (GCS) <gcs@debian.org> no 2023-12-26
no_errorprone.patch Remove dependency on errror-prone library Library is not necessary and is not currently available in Debian. This patch
can be safely removed if the error-prone library is ever added to Debian and
that functionality is needed in protobuf.
Olek Wojnar <olek@debian.org> no 2022-03-11
no_j2objc.patch Remove dependency on j2objc library It's not needed for Debian. Laszlo Boszormenyi (GCS) <gcs@debian.org> not-needed 2023-11-21
no_javax.patch Remove dependency on javax.annotation library It's not yet packaged and not mandatory. Laszlo Boszormenyi (GCS) <gcs@debian.org> not-needed 2023-11-21
fix_hppa_alignof_assert.patch hppa is over aligned and fails Filter out hppa machines on the static_assert lines. Laszlo Boszormenyi (GCS) <gcs@debian.org> no 2023-12-26
fix_C++_32bit_tests.patch fix C++ build tests Add bits to expect 32 bit systems. Laszlo Boszormenyi (GCS) <gcs@debian.org> no debian 2023-12-26
fix_Python_32bit_tests.patch fix Python build tests Add bits to expect 32 bit systems. Laszlo Boszormenyi (GCS) <gcs@debian.org> no debian 2023-11-22
stop_using_backward_compatibility_timezones.patch [PATCH] Python: stop using backward compatibility timezones
The 'Japan' and 'US/Pacific' timezones used in Python tests are
backward compatibility timezones (defined in the backward file of
tzdata) and might not be available on all systems. For instance Debian
recently split those timezones in a tzdata-legacy package.

Update the tests to the use the canonical name of the timezones instead,
that is respectively 'Asia/Tokyo' and 'America/Los_Angeles'.
Aurelien Jarno <aurelien@aurel32.net> no 2023-09-06
ffi.rake_path.patch fix ffi.rake path for building Building in separate directories, fix path for those. Laszlo Boszormenyi (GCS) <gcs@debian.org> not-needed 2025-12-18
soversion.patch fix soname for libraries Add SOVERSION setting to cmake files. Antonio Rojas <arojas@archlinux.org> no vendor, https://gitlab.archlinux.org/archlinux/packaging/packages/protobuf/-/blob/main/soversion.patch?ref_type=heads 2023-12-26
tp_new-fix.patch [PATCH] Register Scalar/MessageMapContainerTypes as virtual subclasses of MutableMapping instead of inheriting directly.

This prevents these from using abc.ABCMeta metaclass to avoid deprecation warning:
```
```

Fixes #15077
Fixes #12186
Sandy Zhang <sandyzhang@google.com> no 2024-03-05
Update-PROTOBUF_MUSTTAIL.patch [PATCH] Update PROTOBUF_MUSTTAIL to only use the attribute on arm64 and x86-64

Affirmatively turning it on for only these two should achieve the same net result while avoiding having to list a more exotic architectures that it should be off for.

Fixes #22367
Protobuf Team Bot <protobuf-github-bot@google.com> no 2025-06-25
gcc-15.diff no
CVE-2026-0994.patch [PATCH] Fix Any recursion depth bypass in Python json_format.ParseDict

This fixes a security vulnerability where nested google.protobuf.Any messages
could bypass the max_recursion_depth limit, potentially leading to denial of
service via stack overflow.

The root cause was that _ConvertAnyMessage() was calling itself recursively
via methodcaller() for nested well-known types, bypassing the recursion depth
tracking in ConvertMessage().

The fix routes well-known type parsing through ConvertMessage() to ensure
proper recursion depth accounting for all message types including nested Any.

Fixes #25070
aviralgarg05 <gargaviral99@gmail.com> no 2026-01-09
test_scope_for_junit.patch no

All known versions for source package 'protobuf'

Links