Skip to content
Memory corruption Disclosed report Advanced CVE-2016-2177

CVE-2016-2177 Undefined pointer arithmetic in SSL code

The report points to undefined pointer arithmetic in OpenSSL's SSL code, where pointer comparisons and arithmetic could go out of bounds. The text itself gives no exploitation detail and only links to the upstream commits and blog post.

guido Follow

Originally disclosed on HackerOne

  • Fixed in 3 hours
  • Paid in 3 hours
  • Disclosed after 4 months

Summary by the program

https://www.openssl.org/blog/blog/2016/06/27/undefined-pointer-arithmetic/

The report

1.0.2 version here: https://github.com/openssl/openssl/commit/a004e72b95835136d3f1ea90517f706c24c03da7

1.0.1 version here: https://github.com/openssl/openssl/commit/6f35f6deb5ca7daebe289f86477e061ce3ee5f46

These will get listed in the next security advisory and rolled up in the next release whenever that is.

according to the OpenSSL team.

The original report as published on HackerOne, by guido. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

What the attacker needed

None stated

The fix

The text points to upstream commits for the 1.0.2 and 1.0.1 branches, which presumably correct the arithmetic, but it does not describe the change.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

OpenSSL is a widely used library that handles encrypted connections. In some of its code, the program did arithmetic on memory addresses in a way the C language does not define, so the result is unpredictable. The report does not explain what an attacker could actually do with it.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by guido

View all

49 more disclosed reports, best first.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.