Skip to content

sapi/litespeed: Reject negative header offsets - #391

Open
iliaal wants to merge 1 commit into
PHP-8.4from
fix/aph-litespeed-negative-lsapi-offsets-p5bl-84-work
Open

iliaal wants to merge 1 commit into
PHP-8.4from
fix/aph-litespeed-negative-lsapi-offsets-p5bl-84-work

Conversation

@iliaal

@iliaal iliaal commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Validate LiteSpeed header lengths and every standard or unknown header offset before pointer arithmetic or header iteration.

Reject negative and overflowing header spans before advancing into the HTTP
header block. Validate the framed length, every standard slot including
Transfer-Encoding, and both offsets and lengths of unknown headers; normalize
the final standard slot on cross-endian requests before validation.
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.

1 participant