Skip to content

Review Java4Shell CVE-2026-114938 runtime guidance and Base64 mapper path #1351

Open

Description

@soheilqalamkari

Summary

CVE-2026-114938 (Java4Shell) is reported in vulnerable HotSpot JDK builds' native Base64 decoder. The fix is a vendor-patched Java runtime; the A2A Java SDK does not bundle a JDK, so an SDK artifact release alone cannot patch affected runtimes.

I noticed the current SDK main has a Base64 decode call in spec-grpc/src/main/java/org/a2aproject/sdk/grpc/mapper/PartMapper.java (toProto). Could maintainers confirm whether peer-controlled FileWithBytes can reach this mapper in supported server/application flows, and whether the SDK documentation should call out the patched-runtime requirement?

This is a request for maintainer review, not a claim that the SDK itself is vulnerable. Applicability depends on the JDK build, architecture/CPU features, intrinsic configuration, and whether attacker-controlled bytes reach the decoder. The Spring integration's 0.2.0 path is JSON-RPC/SSE and does not use this gRPC mapper; its guidance is being handled separately.

References

Please advise whether any SDK-level documentation or code review action is appropriate beyond recommending users update their Java runtime to a vendor-fixed build.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions