Skip to content

Add advisory for fourq: OOB pointer arithmetic in Point::from_hash()#2853

Open
yaokunzhang wants to merge 1 commit into
rustsec:mainfrom
yaokunzhang:advisory-fourq
Open

Add advisory for fourq: OOB pointer arithmetic in Point::from_hash()#2853
yaokunzhang wants to merge 1 commit into
rustsec:mainfrom
yaokunzhang:advisory-fourq

Conversation

@yaokunzhang
Copy link
Copy Markdown
Contributor

Affected crate(s)

  • fourq (14 recent downloads on crates.io)

Links to upstream issue(s) or PR(s)

Severity

Undefined behavior via out-of-bounds pointer arithmetic and write. Point::from_hash() is a public safe API that performs unchecked pointer operations on short byte slices, leading to OOB memory writes and aliasing violations. Triggerable from safe code.

Checklist

  • Advisory filename starts with RUSTSEC-0000-0000 as the ID
  • date field is set to the public disclosure date
  • Contains a concise and descriptive title after advisory metadata
  • Asked maintainer(s) if publishing an advisory is appropriate

@djc
Copy link
Copy Markdown
Member

djc commented May 13, 2026

No response about whether publishing an advisory is appropriate.

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