The JPXStream::init function in Poppler 0.78.0 and earlier doesnt check for negative values of stream length, leading to an Integer Overflow, thereby making it possible to allocate a large memory chunk on the heap, with a size controlled by an attacker, as demonstrated by pdftocairo.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Poppler | Freedesktop | * | 0.78.0 (including) |
Red Hat Enterprise Linux 7 | RedHat | evince-0:3.28.2-9.el7 | * |
Red Hat Enterprise Linux 7 | RedHat | poppler-0:0.26.5-42.el7 | * |
Red Hat Enterprise Linux 8 | RedHat | poppler-0:0.66.0-11.el8_0.12 | * |
Emscripten | Ubuntu | bionic | * |
Emscripten | Ubuntu | devel | * |
Emscripten | Ubuntu | disco | * |
Emscripten | Ubuntu | eoan | * |
Emscripten | Ubuntu | esm-apps/bionic | * |
Emscripten | Ubuntu | esm-apps/jammy | * |
Emscripten | Ubuntu | esm-apps/noble | * |
Emscripten | Ubuntu | esm-apps/xenial | * |
Emscripten | Ubuntu | hirsute | * |
Emscripten | Ubuntu | impish | * |
Emscripten | Ubuntu | jammy | * |
Emscripten | Ubuntu | kinetic | * |
Emscripten | Ubuntu | lunar | * |
Emscripten | Ubuntu | mantic | * |
Emscripten | Ubuntu | noble | * |
Emscripten | Ubuntu | trusty | * |
Emscripten | Ubuntu | xenial | * |
Poppler | Ubuntu | bionic | * |
Poppler | Ubuntu | disco | * |
Poppler | Ubuntu | eoan | * |
Poppler | Ubuntu | esm-infra/bionic | * |
Poppler | Ubuntu | esm-infra/xenial | * |
Poppler | Ubuntu | trusty | * |
Poppler | Ubuntu | xenial | * |