Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

heap-overflow in cryptopp_aes128_cbc #5474

Open
@etam

Description

@etam

cryptopp_aes128_cbc test is failing for me with "free(): invalid pointer" and valgrind reports "Invalid write of size 8" at CryptoPP::CBC_Decryption::ProcessData.

This commit ff6f963 was supposed to fix the issue, but I think it didn't change anything.

cipher.size() == 32 and string192.size() == 24 therefore decrypting cipher to string192 must overflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions