# GHSA-823J-M4CJ-HMJF: MOSS-Audio request-controlled processor cache permits remote memory exhaustion

- Database: GitHub
- Severity: CVSS 7.5 (High)
- Published: 2026-10-06
- Modified: 2026-10-23

## Tracked as

- [CVE-2026-114052](https://cve.now/CVE-2026-114052.md): vLLM 0.25.0 before 0.31.0 MOSS-Audio Memory Exhaustion via /tokenize mm\_processor\_kwargs

## Affected versions

- vllm (PyPI): from 0.24.0, fixed in 0.31.0

## Description

### Summary

  When vLLM serves a MOSS-Audio model, a client that can access the /tokenize endpoint can provide request-controlled
  mm_processor_kwargs.

  MOSS-Audio uses these values to construct MossAudioProcessor instances and stores every distinct instance in an
  unbounded private dictionary. Each processor contains a WhisperFeatureExtractor with an allocated mel-filter array.

  An attacker can therefore:

  1. Repeatedly submit distinct processor configurations to cause persistent linear memory growth.
  2. Supply oversized mel_config values to amplify the allocation made by a single request.

  This can exhaust host memory and terminate or severely degrade the API process. /tokenize is intentionally outside
  vLLM’s API-key-protected route prefixes, so --api-key alone does not restrict access to this endpoint.

  ### Details

  TokenizeChatRequest accepts arbitrary mm_processor_kwargs
  (https://github.com/vllm-project/vllm/blob/bf7eee9d7b2788bafe69f0c21fde6af22a2d3319/vllm/entrypoints/serve/tokenize/protocol.py#L107-L110).

  The request reaches multimodal processing through:

  1. ServingTokenization.create_tokenize()

     (https://github.com/vllm-project/vllm/blob/bf7eee9d7b2788bafe69f0c21fde6af22a2d3319/vllm/entrypoints/serve/tokenize/serving.py#L84-L92)

  2. OnlineRenderer.preprocess_chat()

     (https://github.com/vllm-project/vllm/blob/bf7eee9d7b2788bafe69f0c21fde6af22a2d3319/vllm/renderers/online_renderer.py#L675-L704)

  3. BaseRenderer._process_multimodal()

     (https://github.com/vllm-project/vllm/blob/bf7eee9d7b2788bafe69f0c21fde6af22a2d3319/vllm/renderers/base.py#L846-L880)

  4. MossAudioMultiModalProcessor._apply_hf_processor_main()

     (https://github.com/vllm-project/vllm/blob/bf7eee9d7b2788bafe69f0c21fde6af22a2d3319/vllm/model_executor/models/moss_audio.py#L1358-L1400)

  Although /tokenize sets skip_mm_cache=True, this only selects the read-only multimodal processor. Its
  MossAudioProcessingInfo object still maintains the vulnerable private cache.

  The following request-controlled fields are used as cache-key components:

  - audio_token_id
  - audio_start_id
  - audio_end_id
  - enable_time_marker
  - mel_config

  MossAudioProcessingInfo.get_hf_processor()
  (https://github.com/vllm-project/vllm/blob/bf7eee9d7b2788bafe69f0c21fde6af22a2d3319/vllm/model_executor/models/moss_audio.py#L1248-L1304)
  creates _hf_processor_cache as a plain dictionary. It has no capacity limit, TTL, or eviction policy.

  For every new key, it constructs a MossAudioProcessor
  (https://github.com/vllm-project/vllm/blob/bf7eee9d7b2788bafe69f0c21fde6af22a2d3319/vllm/model_executor/models/moss_audio.py#L962-L997),
  which creates a WhisperFeatureExtractor.

  The default mel-filter array has:

  shape: (201, 128)
  dtype: float64
  size: 205,824 bytes

  Consequently, each unique default configuration retains approximately 206 KB in the mel-filter array alone.

  Request-controlled mel_config can amplify this substantially. The bounded configuration:

  {
    "mel_dim": 512,
    "mel_n_fft": 1024
  }

  creates:

  shape: (513, 512)
  dtype: float64
  size: 2,101,248 bytes

  The approximate final mel-filter allocation is:

  (floor(mel_n_fft / 2) + 1) * mel_dim * 8 bytes

  There are no effective upper bounds on these values. For example, mel_dim=65536 and mel_n_fft=65536 would attempt to
  allocate approximately 16 GiB for the final mel-filter array alone. This destructive value was not executed.

  Clearing the normal multimodal processor cache does not clear _hf_processor_cache, so these processors remain
  reachable for the lifetime of the frontend process.

  The project’s security documentation
  (https://github.com/vllm-project/vllm/blob/bf7eee9d7b2788bafe69f0c21fde6af22a2d3319/docs/usage/security.md#L185-L214)
  documents /tokenize as an endpoint that does not require an API key.

  Suggested remediation is to reject request-level overrides of processor-construction parameters, validate strict upper
  bounds for mel dimensions, and either eliminate this dynamic cache or replace it with a small bounded cache that is
  also cleared by cache-reset operations.

 

  ### Impact

  An attacker who can reach a vLLM HTTP server serving a MOSS-Audio model can cause persistent attacker-controlled
  memory allocations in the frontend API process.

  Repeated unique configurations cause linear retained-memory growth. Oversized mel_config values can also cause a very
  large allocation from a single request. Continued exploitation can terminate the process through out-of-memory
  exhaustion, resulting in denial of service.

  The issue is limited to deployments serving a MOSS-Audio model. A reverse proxy that authenticates or rate-limits /
  tokenize can reduce exposure, but vLLM’s own --api-key setting does not protect this endpoint.

## References

- https://github.com/vllm-project/vllm/security/advisories/GHSA-823j-m4cj-hmjf

Page: https://cve.now/GHSA-823J-M4CJ-HMJF

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
