Skip to content

deps/cve: Ignore CVE-2026-130065 (msgpack-c vrefbuffer, unused) - #49375

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:deps-cve-ignore-msgpack-vrefbuffer
Nov 18, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:deps-cve-ignore-msgpack-vrefbuffer

Conversation

@phlax

@phlax phlax commented Nov 18, 2026

Copy link
Copy Markdown
Member

CVE-2026-130065 is a heap buffer overflow in msgpack_vrefbuffer_migrate() (src/vrefbuffer.c) of msgpack-c through 7.0.2: the capacity check compares against the source array's end pointer, so migrating between vrefbuffers of unequal size can skip the realloc and write past the destination array.

Envoy uses the header-only C++ library (msgpack-cxx 7.0.0), so the C file is not built. The C++ msgpack::vrefbuffer::migrate() has the same check (include/msgpack/v1/vrefbuffer.hpp), but it is not reachable: the only msgpack users are the fluentd access logger and tracer, which pack into msgpack::sbuffer (source/extensions/common/fluentd/fluentd_base.h). Nothing in source/ or contrib/ uses a vrefbuffer.

The CVE scan on main reports it (alongside the OpenSSL 3.5.9 ones, which this does not address). As for CVE-2026-72854 (#49052).

Risk Level: Low (CVE scan config only)
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #49375 was opened by phlax.

see: more, trace.

@phlax phlax changed the title [WIP] deps/cve: Ignore CVE-2026-130065 (msgpack-c vrefbuffer, unused) deps/cve: Ignore CVE-2026-130065 (msgpack-c vrefbuffer, unused) Nov 18, 2026
@phlax
phlax marked this pull request as ready for review November 18, 2026 11:33
@phlax
phlax merged commit df64fa4 into envoyproxy:main Nov 18, 2026
26 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
…yproxy#49375)

CVE-2026-130065 is a heap buffer overflow in
`msgpack_vrefbuffer_migrate()` (`src/vrefbuffer.c`) of msgpack-c through
7.0.2: the capacity check compares against the source array's end
pointer, so migrating between vrefbuffers of unequal size can skip the
realloc and write past the destination array.

Envoy uses the header-only C++ library (`msgpack-cxx` 7.0.0), so the C
file is not built. The C++ `msgpack::vrefbuffer::migrate()` has the same
check (`include/msgpack/v1/vrefbuffer.hpp`), but it is not reachable:
the only msgpack users are the fluentd access logger and tracer, which
pack into `msgpack::sbuffer`
(`source/extensions/common/fluentd/fluentd_base.h`). Nothing in
`source/` or `contrib/` uses a `vrefbuffer`.

The CVE scan on `main` reports it (alongside the OpenSSL 3.5.9 ones,
which this does not address). As for CVE-2026-72854 (envoyproxy#49052).

Risk Level: Low (CVE scan config only)
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit df64fa4)
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
…yproxy#49375)

CVE-2026-130065 is a heap buffer overflow in
`msgpack_vrefbuffer_migrate()` (`src/vrefbuffer.c`) of msgpack-c through
7.0.2: the capacity check compares against the source array's end
pointer, so migrating between vrefbuffers of unequal size can skip the
realloc and write past the destination array.

Envoy uses the header-only C++ library (`msgpack-cxx` 7.0.0), so the C
file is not built. The C++ `msgpack::vrefbuffer::migrate()` has the same
check (`include/msgpack/v1/vrefbuffer.hpp`), but it is not reachable:
the only msgpack users are the fluentd access logger and tracer, which
pack into `msgpack::sbuffer`
(`source/extensions/common/fluentd/fluentd_base.h`). Nothing in
`source/` or `contrib/` uses a `vrefbuffer`.

The CVE scan on `main` reports it (alongside the OpenSSL 3.5.9 ones,
which this does not address). As for CVE-2026-72854 (envoyproxy#49052).

Risk Level: Low (CVE scan config only)
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
…yproxy#49375)

CVE-2026-130065 is a heap buffer overflow in
`msgpack_vrefbuffer_migrate()` (`src/vrefbuffer.c`) of msgpack-c through
7.0.2: the capacity check compares against the source array's end
pointer, so migrating between vrefbuffers of unequal size can skip the
realloc and write past the destination array.

Envoy uses the header-only C++ library (`msgpack-cxx` 7.0.0), so the C
file is not built. The C++ `msgpack::vrefbuffer::migrate()` has the same
check (`include/msgpack/v1/vrefbuffer.hpp`), but it is not reachable:
the only msgpack users are the fluentd access logger and tracer, which
pack into `msgpack::sbuffer`
(`source/extensions/common/fluentd/fluentd_base.h`). Nothing in
`source/` or `contrib/` uses a `vrefbuffer`.

The CVE scan on `main` reports it (alongside the OpenSSL 3.5.9 ones,
which this does not address). As for CVE-2026-72854 (envoyproxy#49052).

Risk Level: Low (CVE scan config only)
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 19, 2026
CVE-2026-130065 is a heap buffer overflow in
`msgpack_vrefbuffer_migrate()` (`src/vrefbuffer.c`) of msgpack-c through
7.0.2: the capacity check compares against the source array's end
pointer, so migrating between vrefbuffers of unequal size can skip the
realloc and write past the destination array.

Envoy uses the header-only C++ library (`msgpack-cxx` 7.0.0), so the C
file is not built. The C++ `msgpack::vrefbuffer::migrate()` has the same
check (`include/msgpack/v1/vrefbuffer.hpp`), but it is not reachable:
the only msgpack users are the fluentd access logger and tracer, which
pack into `msgpack::sbuffer`
(`source/extensions/common/fluentd/fluentd_base.h`). Nothing in
`source/` or `contrib/` uses a `vrefbuffer`.

The CVE scan on `main` reports it (alongside the OpenSSL 3.5.9 ones,
which this does not address). As for CVE-2026-72854 (#49052).

Risk Level: Low (CVE scan config only)
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit df64fa4)
phlax added a commit that referenced this pull request Nov 19, 2026
CVE-2026-130065 is a heap buffer overflow in
`msgpack_vrefbuffer_migrate()` (`src/vrefbuffer.c`) of msgpack-c through
7.0.2: the capacity check compares against the source array's end
pointer, so migrating between vrefbuffers of unequal size can skip the
realloc and write past the destination array.

Envoy uses the header-only C++ library (`msgpack-cxx` 7.0.0), so the C
file is not built. The C++ `msgpack::vrefbuffer::migrate()` has the same
check (`include/msgpack/v1/vrefbuffer.hpp`), but it is not reachable:
the only msgpack users are the fluentd access logger and tracer, which
pack into `msgpack::sbuffer`
(`source/extensions/common/fluentd/fluentd_base.h`). Nothing in
`source/` or `contrib/` uses a `vrefbuffer`.

The CVE scan on `main` reports it (alongside the OpenSSL 3.5.9 ones,
which this does not address). As for CVE-2026-72854 (#49052).

Risk Level: Low (CVE scan config only)
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 19, 2026
CVE-2026-130065 is a heap buffer overflow in
`msgpack_vrefbuffer_migrate()` (`src/vrefbuffer.c`) of msgpack-c through
7.0.2: the capacity check compares against the source array's end
pointer, so migrating between vrefbuffers of unequal size can skip the
realloc and write past the destination array.

Envoy uses the header-only C++ library (`msgpack-cxx` 7.0.0), so the C
file is not built. The C++ `msgpack::vrefbuffer::migrate()` has the same
check (`include/msgpack/v1/vrefbuffer.hpp`), but it is not reachable:
the only msgpack users are the fluentd access logger and tracer, which
pack into `msgpack::sbuffer`
(`source/extensions/common/fluentd/fluentd_base.h`). Nothing in
`source/` or `contrib/` uses a `vrefbuffer`.

The CVE scan on `main` reports it (alongside the OpenSSL 3.5.9 ones,
which this does not address). As for CVE-2026-72854 (#49052).

Risk Level: Low (CVE scan config only)
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants