Vulnerabilities in pkg:maven/com.foxinmy/weixin4j-base

PACKAGE
Advisory Identifier: GHSA-444m-px7r-qpvv
Advisory Summary

CVE-2026-24819 is a MODERATE weixin4j has improperly controlled sequential vulnerability (CWE-1325: Improperly Controlled Sequential Memory Allocation) affecting Weixin4j base libraries in the Maven ecosystem. The issue involves weixin4j has improperly controlled sequential memory allocation. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.foxinmy/weixin4j-base

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.foxinmy/weixin4j-base. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-444m-px7r-qpvv CVE-2026-24819 MODERATE weixin4j has Improperly Controlled Sequential Memory Allocation

CVE-2026-24819 at a Glance

CVE Identifier CVE-2026-24819
GHSA Identifier GHSA-444m-px7r-qpvv
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-1325: Improperly Controlled Sequential Memory Allocation
Affected Product Weixin4j base
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-24819

To remediate this vulnerability, upgrade all affected Weixin4j base dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.foxinmy:weixin4j-base fixed: Latest secure release
<dependency>
    <groupId>com.foxinmy</groupId>
    <artifactId>weixin4j-base</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.foxinmy

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-24819, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.foxinmy

Analyze the terminal output to locate any version of Weixin4j base in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.foxinmy command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1325: Improperly Controlled Sequential Memory Allocation, where the product manages a group of objects or resources and performs a separate memory allocation for each object, but it does not properly limit the total amount of memory that is consumed by all of the combined objects. In Weixin4j base, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Improperly Controlled Sequential Memory Allocation vulnerability in foxinmy weixin4j (weixin4j-base/src/main/java/com/foxinmy/weixin4j/util modules). This vulnerability is associated with program files CharArrayBuffer.Java, ClassUtil.Java. This issue affects all versions of weixin4j. A path is available: [d1c8258](https://github.com/foxinmy/weixin4j/commit/4b7ad14df6567064b468b4c9cb7a8bfeff48c8bd)

CVE-2026-24819 Affected Weixin4j base Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
com.foxinmy:weixin4j-base
Maven
≤ 1.10.2

References

Frequently Asked Questions

What is CVE-2026-24819?
CVE-2026-24819 is a security vulnerability in Weixin4j base involving weixin4j has Improperly Controlled Sequential Memory Allocation under CWE-1325: Improperly Controlled Sequential Memory Allocation.
Which Weixin4j base versions are affected?
Affected versions include releases prior to current release patches across affected packages: com.foxinmy:weixin4j-base.
What version fixes CVE-2026-24819?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is weixin4j-base affected?
Yes, com.foxinmy:weixin4j-base is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2026-24819?
CVE-2026-24819 is classified under CWE-1325: Improperly Controlled Sequential Memory Allocation (The product manages a group of objects or resources and performs a separate memory allocation for each object, but it does not properly limit the total amount of memory that is consumed by all of the combined objects.).
How can I check Maven dependencies for CVE-2026-24819?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.foxinmy'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-444m-px7r-qpvv",
  "modified" : "2026-01-28T16:01:17Z",
  "published" : "2026-01-27T09:30:30Z",
  "aliases" : [ "CVE-2026-24819" ],
  "summary" : "weixin4j has Improperly Controlled Sequential Memory Allocation ",
  "details" : "Improperly Controlled Sequential Memory Allocation vulnerability in foxinmy weixin4j (weixin4j-base/src/main/java/com/foxinmy/weixin4j/util modules). This vulnerability is associated with program files CharArrayBuffer.Java, ClassUtil.Java.\n\nThis issue affects all versions of weixin4j. A path is available:  [d1c8258](https://github.com/foxinmy/weixin4j/commit/4b7ad14df6567064b468b4c9cb7a8bfeff48c8bd)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:A/V:D/RE:M/U:Amber"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.foxinmy:weixin4j-base"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.10.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-24819"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/foxinmy/weixin4j/pull/229"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/foxinmy/weixin4j/commit/d1c825835802cd3a0c04772be1220ff4476ea27c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/foxinmy/weixin4j"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1325" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-28T16:01:17Z",
    "nvd_published_at" : "2026-01-27T09:15:52Z"
  }
}